/**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct(facebookEventFetcher $fetcher)
 {
     parent::__construct();
     $this->fetcher = $fetcher;
     if (!Schema::hasTable('venues')) {
         return;
     }
     $this->venues = Venue::whereNotNull('facebook')->get();
     $this->organizations = Organization::whereNotNull('facebook')->get();
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy(DestroyRequest $request, $id)
 {
     $organization = Organization::withHidden()->findOrFail($id);
     if (count($event->tags)) {
         $organization->tags()->detach($events->tags->lists('id')->toArray());
     }
     $organization->delete();
     return redirect('organizations/admin')->with('message', 'Organization destroyed.');
 }