mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove extraneous log line
This commit is contained in:
parent
6e9f36be58
commit
14da328dea
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue