Index: t3lib/class.t3lib_userauth.php
===================================================================
--- t3lib/class.t3lib_userauth.php	(Revision 6372)
+++ t3lib/class.t3lib_userauth.php	(Arbeitskopie)
@@ -288,6 +288,8 @@
 			}
 		}

+			// If any redirection (inclusion of file) then it will happen in this function
+		$this->redirect();

 			// Set all posible headers that could ensure that the script is not cached on the client-side
 		if ($this->sendNoCacheHeaders)	{
@@ -1218,9 +1220,8 @@
 	 * @ignore
 	 */
 	function redirect() {
-		t3lib_div::logDeprecatedFunction();
-
 		if (!$this->userid && $this->auth_url)	{	 // if no userid AND an include-document for login is given
+			t3lib_div::deprecationLog('Redirection after login via PHP include is deprecated.');
 			include ($this->auth_include);
 			exit;
 		}
