Make sure we are using the Library controller for the Library page

This commit is contained in:
Martin Konecny 2012-08-21 11:12:33 -04:00
parent d2eca0faaf
commit 51ebae3de9
5 changed files with 79 additions and 20 deletions

View file

@ -899,6 +899,19 @@ SQL;
CcPlaylistcontentsQuery::create()->findByDbPlaylistId($this->id)->delete();
}
public static function getObjInfo($p_type)
{
$info = array();
if (strcmp($p_type, 'playlist')==0) {
$info['className'] = 'Application_Model_Playlist';
} else {
$info['className'] = 'Application_Model_Block';
}
return $info;
}
} // class Playlist
class PlaylistNotFoundException extends Exception {}