Applied fixes from StyleCI

This commit is contained in:
Sujit Prasad
2016-06-15 00:52:21 -04:00
committed by StyleCI Bot
parent b158c8e1ee
commit a6a7c762dc
41 changed files with 1456 additions and 1297 deletions

View File

@@ -31,6 +31,7 @@ class CheckUpdate
return redirect('file-update');
}
}
return $next($request);
}
@@ -46,11 +47,11 @@ class CheckUpdate
public function checkNewUpdate()
{
$notify = new BarNotification();
if(!\Schema::hasTable('bar_notifications')){
if (!\Schema::hasTable('bar_notifications')) {
$url = url('database-upgrade');
//$string = "Your Database is outdated please upgrade <a href=$url>Now !</a>";
echo view('themes.default1.update.database', compact('url'));
exit;
exit;
}
$not = $notify->get();
if ($not->count() > 0) {