Exemple #1
0
 public function absolutePreProcessing(){
     $db = _DB::_Connect();
     $action = _FCORE::IsSetPostDefault(ACTION_GO, false);
     if ($action){
         $userID = _FCORE::IsSetPostDefault(USERS_USERID, false);
         if ($userID){
             try {
                 DB_USER::_DeleteUser($db, $userID);
                 $this->crossInfo[RESULTS] = "Successfully Deleted User";
             } catch(Exception $e) {
                 $this->crossInfo[RESULTS] = "Failed To Delete User... System Error: ".$e->getMessage();
             }
         }
     }
     $this->crossInfo[_ADMINPAGE::USERS_LIST] = DB_USER::_GetUserList($db);
     $db->disconnect();
 }