SF.net SVN: phpwiki:[11075] trunk/lib/WikiUser

vargenau--- via phpwiki-checkins <[email protected]> Wed, 24 Jan 2024 12:07:19 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 11075
          http://sourceforge.net/p/phpwiki/code/11075
Author:   vargenau
Date:     2024-01-24 12:07:18 +0000 (Wed, 24 Jan 2024)
Log Message:
-----------
make function _fake_auth static (patch by Christof Meerwald)

Modified Paths:
--------------
    trunk/lib/WikiUser/HttpAuth.php
    trunk/lib/WikiUser/HttpAuthUpper.php

Modified: trunk/lib/WikiUser/HttpAuth.php
===================================================================
--- trunk/lib/WikiUser/HttpAuth.php	2024-01-24 12:00:19 UTC (rev 11074)
+++ trunk/lib/WikiUser/HttpAuth.php	2024-01-24 12:07:18 UTC (rev 11075)
@@ -61,7 +61,7 @@
 
     // FIXME! This doesn't work yet!
     // Allow httpauth by other method: Admin for now only
-    public function _fake_auth($userid, $passwd)
+    public static function _fake_auth($userid, $passwd)
     {
         return false;
 

Modified: trunk/lib/WikiUser/HttpAuthUpper.php
===================================================================
--- trunk/lib/WikiUser/HttpAuthUpper.php	2024-01-24 12:00:19 UTC (rev 11074)
+++ trunk/lib/WikiUser/HttpAuthUpper.php	2024-01-24 12:07:18 UTC (rev 11075)
@@ -62,7 +62,7 @@
 
     // FIXME! This doesn't work yet!
     // Allow httpauth by other method: Admin for now only
-    public function _fake_auth($userid, $passwd)
+    public static function _fake_auth($userid, $passwd)
     {
         return false;
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.