Inspector cleanup

This commit is contained in:
Nathan Adams
2015-10-15 21:24:05 -05:00
parent e130ec13e2
commit 0b6fa7c64d
13 changed files with 13 additions and 16 deletions

View File

@@ -14,5 +14,4 @@ $user->password = 'admin'; // the password is salted/hashed
$user->administrator = true;
$user->active = true;
$user->create();
print "Bootstrap ok\n";
?>
print "Bootstrap ok\n";

View File

@@ -568,6 +568,7 @@ class IDF_Plugin_SyncMonotone
$keyGuard = new IDF_Plugin_SyncMonotone_ModelGuard($key);
foreach (Pluf::factory('IDF_Project')->getList() as $project) {
/** @var \IDF_Project $project */
$conf = new IDF_Conf();
$conf->setProject($project);
$scm = $conf->getVal('scm', 'mtn');
@@ -641,7 +642,7 @@ class IDF_Plugin_SyncMonotone
$read_perms, LOCK_EX) === false) {
$this->_diagnoseProblem(sprintf(
__('Could not write read-permissions for project "%s"'),
$shortname
$project->shortname
));
}
}