mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Refactor Appbox
This commit is contained in:
@@ -15,14 +15,13 @@
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
$appbox = appbox::get_instance();
|
||||
$Core = \bootstrap::getCore();
|
||||
$appbox = appbox::get_instance($Core);
|
||||
$session = $appbox->get_session();
|
||||
$registry = $appbox->get_registry();
|
||||
|
||||
$th_size = $user->getPrefs('images_size');
|
||||
|
||||
$user = User_Adapter::getInstance($session->get_usr_id(), $appbox);
|
||||
$ACL = $user->ACL();
|
||||
$user = $Core->getAuthenticatedUser();
|
||||
|
||||
$RN = array("\r\n", "\n", "\r");
|
||||
|
||||
|
Reference in New Issue
Block a user