CC-2833: Use ClassLoaders for PHP Files
-Done for class User
This commit is contained in:
parent
1e9a8a28fe
commit
5cc7de95ee
11 changed files with 34 additions and 34 deletions
|
@ -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()) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue