Example #1
0
 public function retractApp($id)
 {
     $app = Application::getById($id);
     if ($app == null) {
         return false;
     }
     if ($app->verifyOwner($this->userID)) {
         $app->removeApp();
         return true;
     }
     return false;
 }