Quellcode durchsuchen

Change visibility of CAS methods log() and error() to allow static calls from other classes

Yannick Warnier vor 8 Jahren
Ursprung
Commit
9b9f330865
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      main/auth/cas/lib/CAS.php

+ 2 - 2
main/auth/cas/lib/CAS.php

@@ -527,7 +527,7 @@ class phpCAS
      *
      * @private
      */
-    private function log($str)
+    public function log($str)
     {
         $indent_str = ".";
         global $PHPCAS_DEBUG;
@@ -549,7 +549,7 @@ class phpCAS
      *
      * @private
      */
-    private function error($msg)
+    public function error($msg)
     {
         $dbg = self::backtrace();
         $function = '?';