Browse Source

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!
Marien Fressinaud 11 years ago
parent
commit
40f45c92ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/lib_rss.php

+ 1 - 1
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'),