public function delete() { $cid = KInput::get('cid', 'post', 'array.ints', null, array()); JPluginHelper::importPlugin('gdata', 'gdata'); foreach ($cid as $id) { $userFeed = plgSystemGdata::deleteAlbumEntry('immotoa_realisation_' . $id); } parent::delete(); }
public function delete() { $cid = KInput::get('cid', 'post', 'array.ints', null, array()); JPluginHelper::importPlugin('gdata', 'gdata'); $userFeed = plgSystemGdata::getUserFeed(); foreach ($cid as $id) { // Remove albums from Picasa Server foreach ($userFeed as $userEntry) { if ($userEntry->title->text == "duuka_item_" . $id) { $userEntry->delete(); } } } parent::delete(); }