Visman 7 سال پیش
والد
کامیت
009754078b

+ 0 - 1
app/Models/Pages/Admin/Censoring.php

@@ -123,7 +123,6 @@ class Censoring extends Admin
 
         $this->nameTpl   = 'admin/form';
         $this->aIndex    = 'censoring';
-#        $this->titles    = \ForkBB\__('Censoring');
         $this->form      = $form;
         $this->classForm = 'editcensorship';
         $this->titleForm = \ForkBB\__('Censoring');

+ 1 - 1
app/Models/Pages/Admin/Forums.php

@@ -395,7 +395,7 @@ class Forums extends Admin
 
                 $this->c->Cache->delete('forums_mark');
 
-                return $this->c->Redirect->page('AdminForums')->message($message);
+                return $this->c->Redirect->page('AdminForumsEdit', ['id' => $forum->id])->message($message);
             }
 
             $this->fIswev = $v->getErrors();

+ 2 - 2
app/Models/Pages/Admin/Groups.php

@@ -297,7 +297,7 @@ class Groups extends Admin
 
         if (null === $group->g_id) {
             $message = \ForkBB\__('Group added redirect');
-            $newId   = $this->c->groups->insert($group);
+            $this->c->groups->insert($group);
 
             $this->c->groups->Perm->copy($baseGroup, $group);
         } else {
@@ -313,7 +313,7 @@ class Groups extends Admin
 
         $this->c->Cache->delete('forums_mark');
 
-        return $this->c->Redirect->page('AdminGroups')->message($message);
+        return $this->c->Redirect->page('AdminGroupsEdit', ['id' => $group->g_id])->message($message);
     }
 
     /**

+ 0 - 1
app/Models/Pages/Admin/Maintenance.php

@@ -147,7 +147,6 @@ class Maintenance extends Admin
 
         $this->nameTpl         = 'admin/maintenance';
         $this->aIndex          = 'maintenance';
-#        $this->titles          = \ForkBB\__('Maintenance');
 
         return $this;
     }

+ 0 - 1
app/Models/Pages/Admin/Users.php

@@ -205,7 +205,6 @@ class Users extends Admin
 
         $this->nameTpl    = 'admin/users';
         $this->aIndex     = 'users';
-#        $this->titles     = \ForkBB\__('Users');
         $this->formSearch = $this->formSearch($data);
 
         if ($this->user->isAdmin) {