summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_event.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2011-01-14 01:12:32 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2011-01-14 01:12:32 +0000
commit2898fe3b82ce10d045dd2c274a3290bacf209a00 (patch)
tree5aced91bb92d8c9136cabf60ebc918248328907a /modules/gallery/helpers/gallery_event.php
parent47cbef684d41a4d51a9848091997e10b909abf32 (diff)
parente4a43c99e421c830e569eaae6294286ed51e0ad8 (diff)
Git pull from devel line.
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
-rw-r--r--modules/gallery/helpers/gallery_event.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php
index 5d3ee6ee..13a0bdb4 100644
--- a/modules/gallery/helpers/gallery_event.php
+++ b/modules/gallery/helpers/gallery_event.php
@@ -178,10 +178,6 @@ class gallery_event_Core {
}
Session::instance()->set("active_auth_timestamp", time());
auth::clear_failed_attempts($user);
-
- if ($user->admin && ini_get("session.use_trans_sid")) {
- message::info(t("PHP is configured with <a href=\"url\">session.use_trans_sid</a> enabled which will cause random logouts. Please disable this setting.", array("url" => "http://www.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid")));
- }
}
static function user_auth_failed($name) {
@@ -377,7 +373,7 @@ class gallery_event_Core {
module::event("admin_menu", $admin_menu, $theme);
$settings_menu = $admin_menu->get("settings_menu");
- sort($settings_menu->elements);
+ uasort($settings_menu->elements, array("Menu", "title_comparator"));
}
}
}