Fixing issue 72
This commit is contained in:
@@ -26,7 +26,7 @@ function IDF_Migrations_22ProjectTagRelationTable_up($params=null)
|
||||
$db = Pluf::db();
|
||||
$table = $db->pfx.'idf_project_idf_tag_assoc';
|
||||
if (!in_array($db->engine, array('MySQL', 'PostgreSQL'))) {
|
||||
throw new Exception('unsupported engine '.$engine);
|
||||
throw new Exception('unsupported engine '.$db->engine);
|
||||
}
|
||||
|
||||
$intro = new Pluf_DB_Introspect($db);
|
||||
@@ -45,7 +45,7 @@ function IDF_Migrations_22ProjectTagRelationTable_down($params=null)
|
||||
$db = Pluf::db();
|
||||
$table = $db->pfx.'idf_project_idf_tag_assoc';
|
||||
if (!in_array($db->engine, array('MySQL', 'PostgreSQL'))) {
|
||||
throw new Exception('unsupported engine '.$engine);
|
||||
throw new Exception('unsupported engine '.$db->engine);
|
||||
}
|
||||
|
||||
$intro = new Pluf_DB_Introspect($db);
|
||||
|
@@ -597,7 +597,7 @@ class IDF_Plugin_SyncMonotone
|
||||
catch (Exception $e) {
|
||||
$this->_diagnoseProblem(sprintf(
|
||||
__('Could not parse read-permissions for project "%1$s": %2$s'),
|
||||
$shortname, $e->getMessage()
|
||||
$project->shortname, $e->getMessage()
|
||||
));
|
||||
}
|
||||
|
||||
@@ -716,7 +716,7 @@ class IDF_Plugin_SyncMonotone
|
||||
catch (Exception $e) {
|
||||
$this->_diagnoseProblem(sprintf(
|
||||
__('Could not parse read-permissions for project "%1$s": %2$s'),
|
||||
$shortname, $e->getMessage()
|
||||
$project->shortname, $e->getMessage()
|
||||
));
|
||||
}
|
||||
|
||||
@@ -789,7 +789,7 @@ class IDF_Plugin_SyncMonotone
|
||||
Pluf_Log::event(array(
|
||||
'IDF_Plugin_SyncMonotone::processSyncTimeline',
|
||||
'Project not found.',
|
||||
array($project_name, $params)
|
||||
array($project_name)
|
||||
));
|
||||
return false; // Project not found
|
||||
}
|
||||
|
Reference in New Issue
Block a user