diff options
| author | 2015-01-29 10:26:16 +0100 | |
|---|---|---|
| committer | 2015-01-29 10:26:16 +0100 | |
| commit | 40f45c92ed96c34e1342cb50b3582b587e36a9bb (patch) | |
| tree | 1d4592755d7e9be5f963a654b329c462c59ce93e /lib/lib_rss.php | |
| parent | a47ce4f6af9e55267c4ce50af1bcc052229535ad (diff) | |
Fix get_user_configuration()
There is no need to prefix namespace by the time: if conf has already been
registered, it will be returned anyway!
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 3b3f6d279..68abe602c 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -248,7 +248,7 @@ function listUsers() { * @return a Minz_Configuration object, null if the configuration cannot be loaded. */ function get_user_configuration($username) { - $namespace = time() . '_user_' . $username; + $namespace = 'user_' . $username; try { Minz_Configuration::register($namespace, join_path(USERS_PATH, $username, 'config.php'), |
