differ logs for the same function call in 2 places
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 13 Mar 2008 22:27:59 +0000 (22:27 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 13 Mar 2008 22:27:59 +0000 (22:27 +0000)
web/index.php

index e0db3d2..0e9d615 100644 (file)
@@ -49,7 +49,7 @@ function main()
     /* Actions */
 
     if (validate_sess($sess)) {
-      log_main("pre garbage_manager");
+      log_main("pre garbage_manager UNO");
       $room->garbage_manager(TRUE);
       log_main("post garbage_manager");
       if (($user = &$room->get_user($sess, &$idx)) != FALSE) {
@@ -76,6 +76,8 @@ function main()
     }
     
     if ($ACTION == "login" && isset($name)) {
+      
+      log_main("pre garbage_manager DUE");
       $room->garbage_manager(TRUE);
       /* try login */
       if (($user = &$room->add_user(&$sess, &$idx, $name, $_SERVER['REMOTE_ADDR'])) != FALSE) {