Ejemplo n.º 1
0
 /**
  * Check if we're clear to call the api
  */
 public function locked()
 {
     global $wpghs;
     if (!$this->api->oauth_token() || !$this->api->repository() || $wpghs->push_lock) {
         return true;
     }
     return false;
 }