CC-2833: Use ClassLoaders for PHP Files

-Done for class User
This commit is contained in:
martin 2011-09-23 17:00:55 -04:00
parent 1e9a8a28fe
commit 5cc7de95ee
11 changed files with 34 additions and 34 deletions

View file

@ -67,7 +67,7 @@ class LibraryController extends Zend_Controller_Action
$paramsPop = str_replace('#type#', $type, $paramsPop);
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
$user = new User($userInfo->id);
$user = new Application_Model_User($userInfo->id);
$pl_sess = $this->pl_sess;
@ -139,7 +139,7 @@ class LibraryController extends Zend_Controller_Action
{
$id = $this->_getParam('id');
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
$user = new User($userInfo->id);
$user = new Application_Model_User($userInfo->id);
if ($user->isAdmin()) {