Selaa lähdekoodia

#2442 Error after profile/group edit

Alex Trofimov 6 vuotta sitten
vanhempi
sitoutus
66ae1f6790
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 1 0
      inc/classes/BxDol.php
  2. 5 0
      inc/classes/BxDolProfileUndefined.php

+ 1 - 0
inc/classes/BxDol.php

@@ -178,6 +178,7 @@ interface iBxDolProfile
     public function getEditUrl();
     public function isActive();
     public function isOnline();
+    public function getStatus();
     public function getModule();
 
     /**

+ 5 - 0
inc/classes/BxDolProfileUndefined.php

@@ -229,6 +229,11 @@ class BxDolProfileUndefined extends BxDolFactory implements iBxDolSingleton, iBx
         return false;
     }
 
+    public function getStatus($iProfileId = false)
+    {
+        return 'active';
+    }
+
     public function getModule($iProfileId = false)
     {
         return 'system';