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
|
@ -333,7 +333,7 @@ class Application_Model_Preference
|
|||
$outputArray['WEB_SERVER'] = $headerInfo['Server'][0];
|
||||
}
|
||||
|
||||
$outputArray['NUM_OF_USERS'] = User::getUserCount();
|
||||
$outputArray['NUM_OF_USERS'] = Application_Model_User::getUserCount();
|
||||
$outputArray['NUM_OF_SONGS'] = Application_Model_StoredFile::getFileCount();
|
||||
$outputArray['NUM_OF_PLAYLISTS'] = Application_Model_Playlist::getPlaylistCount();
|
||||
$outputArray['NUM_OF_SCHEDULED_PLAYLISTS'] = Application_Model_Schedule::getSchduledPlaylistCount();
|
||||
|
|
|
@ -5,7 +5,7 @@ define('UTYPE_ADMIN', 'A');
|
|||
define('UTYPE_GUEST', 'G');
|
||||
define('UTYPE_PROGRAM_MANAGER', 'P');
|
||||
|
||||
class User {
|
||||
class Application_Model_User {
|
||||
|
||||
private $_userInstance;
|
||||
|
||||
|
@ -217,7 +217,7 @@ class User {
|
|||
}
|
||||
|
||||
public static function getHosts($search=NULL) {
|
||||
return User::getUsers(array('H'), $search);
|
||||
return Application_Model_User::getUsers(array('H'), $search);
|
||||
}
|
||||
|
||||
public static function getUsersDataTablesInfo($datatables_post) {
|
Loading…
Add table
Add a link
Reference in a new issue