[BUGFIX] t3lib_userAuthGroup::checkLogFailures() gives PHP notice 82/21482/5
authorXavier Perseguers <xavier@typo3.org>
Mon, 19 Sep 2011 20:47:00 +0000 (22:47 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 6 Jul 2013 20:42:29 +0000 (22:42 +0200)
Due to improper method signature in the parent class of t3lib_userAuthGroup,
a PHP notice is generated when calling method checkLogFailures().

Change-Id: Ic41cb88889ee18f2508ae5b2e96858e8bf16c349
Fixes: #30055
Releases: 4.5, 4.6
Reviewed-on: https://review.typo3.org/21482
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
t3lib/class.t3lib_userauth.php

index 18c6c47..6c9bf80 100644 (file)
@@ -1393,10 +1393,13 @@ class t3lib_userAuth {
        /**
         * DUMMY: Check login failures (in some extension classes)
         *
-        * @return      void
+        * @param string $email Email address
+        * @param integer $secondsBack Number of sections back in time to check. This is a kind of limit for how many failures an hour for instance
+        * @param integer $maxFailures Max allowed failures before a warning mail is sent
+        * @return void
         * @ignore
         */
-       function checkLogFailures() {
+       function checkLogFailures($email, $secondsBack, $maxFailures) {
        }
 
        /**