예제 #1
0
 public static function deactivate($userId)
 {
     $a = new Activation($userId);
     $a->select($userId, 'user');
     $a->active = 0;
     $a->update();
 }
예제 #2
0
 public static function remove($userId)
 {
     $a = new Activation($userId);
     $a->select($userId, 'user');
     $a->delete();
 }