Remove extraneous log line

This commit is contained in:
Brady Wetherington 2020-08-26 13:10:47 -07:00
parent 6e9f36be58
commit 14da328dea

View file

@ -17,8 +17,8 @@ class AddAdAppendDomainSettings extends Migration
Schema::table('settings', function (Blueprint $table) {
$table->boolean('ad_append_domain')->nullable(false)->default('0');
});
$s = Setting::first(); // we are deliberately *not* using the ::getSettings() method, as it caches things, and our Settings table is being migrated right now
\Log::info("is ad? ".($s->is_ad)." is enabled? ".($s->ldap_enabled)." ad_domain? ".($s->ad_domain));
if($s->is_ad && $s->ldap_enabled && $s->ad_domain) { //backwards-compatibility setting; < v5 always appended AD Domains
$s->ad_append_domain = 1;
$s->save();