1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 22:44:25 +02:00

Fix coding standards to conform to PSR-2

This commit is contained in:
Franz Liedke
2015-05-19 01:03:12 +02:00
parent 6b4c27a944
commit 7885c9a002
22 changed files with 239 additions and 242 deletions

View File

@@ -14,7 +14,9 @@ class ExtensionsServiceProvider extends ServiceProvider
public function register()
{
// Extensions will not be registered if Flarum is not installed yet
if (!Core::isInstalled()) return;
if (!Core::isInstalled()) {
return;
}
$extensions = json_decode(DB::table('config')->where('key', 'extensions_enabled')->pluck('value'), true);
$providers = [];