/**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $rankable = Beatmapset::rankable();
     if ($rankable) {
         foreach ($rankable as $rank) {
         }
     }
 }
Example #2
0
 protected function set($job, $data, $ident, $callback)
 {
     $id = @$data['id'];
     $set = Beatmapset::find($id);
     if (!$set) {
         sentry_log("[{$ident}] Set not found while trying to {$ident}: {$id}", 'queue', Raven_Client::FATAL);
         $job->delete();
         return;
     }
     $callback($job, $data, $set);
 }