示例#1
0
 public static function deleteEntry()
 {
     $result = array();
     $deleted = lC_Whos_online_Admin::delete($_GET['sid']);
     if ($deleted) {
         $result['rpcStatus'] = RPC_STATUS_SUCCESS;
     }
     echo json_encode($result);
 }
示例#2
0
 public static function batchDelete($batch)
 {
     foreach ($batch as $id) {
         lC_Whos_online_Admin::delete($id);
     }
     return true;
 }