public static function deleteData($id) { unset($_SESSION[get_called_class()][$id]); $ef = new Efiwebsetting(); $ef->delete($id); return $ef->delete($id); }