Procházet zdrojové kódy

会员权限认证

zac3533 před 1 rokem
rodič
revize
9bd9e42029
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      application/admin/controller/user/User.php

+ 4 - 4
application/admin/controller/user/User.php

@@ -352,10 +352,10 @@ class User extends Backend
         if (empty($values)) {
             $this->error(__('You have no permission'));
         }
-        $adminIds = $this->getDataLimitAdminIds();
-        if (is_array($adminIds)) {
-            $this->model->where($this->dataLimitField, 'in', $adminIds);
-        }
+        // $adminIds = $this->getDataLimitAdminIds();
+        // if (is_array($adminIds)) {
+        //     $this->model->where($this->dataLimitField, 'in', $adminIds);
+        // }
         $count = 0;
         Db::startTrans();
         try {