Example #1
0
 function userRemove()
 {
     $this->testAccess();
     \DB::em()->createQuery("DELETE FROM \\Entity\\User a WHERE a.facebook_user_id = " . FB::getUser())->execute();
     die(json_encode(array('status' => 'ok')));
 }