mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-19 13:25:36 -04:00
Remove all non Identity API methods from Identity.php. Created an MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
class server_add_theme_Core {
|
||||
static function head($theme) {
|
||||
if (Identity::active()->admin) {
|
||||
if (Session::active_user()->admin) {
|
||||
$theme->script("server_add.js");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user