Merge branch 'develop' of github.com:snipe/snipe-it into develop

This commit is contained in:
snipe 2017-06-06 01:45:25 -07:00
commit c977dda5bb

4
app/Console/Commands/LdapSync.php Normal file → Executable file
View file

@ -90,11 +90,11 @@ class LdapSync extends Command
LOG::debug('Location ID '.$this->option('location_id').' passed');
LOG::debug('Importing to '.$location->name.' ('.$location->id.')');
} else {
$location = new Location;
$location = NULL;
}
if (!isset($location)) {
LOG::debug('That location is invalid, so no location will be assigned by default.');
LOG::debug('That location is invalid or a location was not provided, so no location will be assigned by default.');
}
// Grab subsets based on location-specific DNs, and overwrite location for these users.