コード例 #1
0
ファイル: dbstorage.php プロジェクト: JDevelopers/Mail
 function DeleteSubAdminsByIds($subAdminsIds)
 {
     if (is_array($subAdminsIds) && count($subAdminsIds) > 0) {
         foreach ($subAdminsIds as $subAdminId) {
             $this->_connector->Execute($this->_commandCreator->ClearSubAdminDomains($subAdminId));
             $this->_connector->Execute($this->_commandCreator->DeleteSubAdminById($subAdminId));
         }
         return true;
     }
     return false;
 }