]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/user_functions.php
Tasks are now registered again
[mailer.git] / inc / libs / user_functions.php
index 95200502da5d21970edc5bd03620e751d44b7208..59d5684fd66621e92975aadffe50314aafb8d42a 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Spezielle Funktionen fuer die user-Erweiterung   *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
@@ -333,7 +333,7 @@ function USER_DO_LOGIN ($uid, $passwd) {
 
                        // Update global array
                        // @TODO Make this filter working: $URL = runFilterChain('do_login', array('uid' => $uid, 'hash' => $hash, 'addon' => $ADDON));
-                       $GLOBALS['userid'] = $uid;
+                       setUserId($uid);
 
                        // Try to set session data (which shall normally always work!)
                        if ((set_session('userid', $uid )) && (set_session('u_hash', $hash))) {