srchub

srchub Commit Details


Date:2014-12-20 20:02:23 (10 years 1 day ago)
Author:Natalie Adams
Branch:master
Commit:f597b1ac25cef95dd8475235fc78b2a22d3bad56
Parents: 1f4586ec92f7e7231f9a6f56c43c368bfaa1db12
Message:Fixing issue 72

Changes:

File differences

indefero/src/IDF/Migrations/22ProjectTagRelationTable.php
2626
2727
2828
29
29
3030
3131
3232
......
4545
4646
4747
48
48
4949
5050
5151
$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);
$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);
indefero/src/IDF/Plugin/SyncMonotone.php
597597
598598
599599
600
600
601601
602602
603603
......
716716
717717
718718
719
719
720720
721721
722722
......
789789
790790
791791
792
792
793793
794794
795795
catch (Exception $e) {
$this->_diagnoseProblem(sprintf(
__('Could not parse read-permissions for project "%1$s": %2$s'),
$shortname, $e->getMessage()
$project->shortname, $e->getMessage()
));
}
catch (Exception $e) {
$this->_diagnoseProblem(sprintf(
__('Could not parse read-permissions for project "%1$s": %2$s'),
$shortname, $e->getMessage()
$project->shortname, $e->getMessage()
));
}
Pluf_Log::event(array(
'IDF_Plugin_SyncMonotone::processSyncTimeline',
'Project not found.',
array($project_name, $params)
array($project_name)
));
return false; // Project not found
}
pluf/src/Pluf/DB/SQLite.php
106106
107107
108108
109
109
110110
111111
112112
function getLastID()
{
$this->debug('* GET LAST ID');
return (int) $this->con_id->lastInsertId();;
return (int) $this->con_id->lastInsertId();
}
/**
pluf/src/Pluf/Tests/TemplateTags/Cycle.php
156156
157157
158158
159
159
160160
161161
162162
163163
164
164
165165
166166
$this->skip('Pluf has no support for applying filters to a variable of array');
return;
$context = new Pluf_Template_Context(array('one' => 'A',
/*$context = new Pluf_Template_Context(array('one' => 'A',
'two' => '2'));
$to_parse = '{cycle array($one|lower, $two), "counter"}{cycle $counter}';
$expected = 'a2';
$tpl = $this->getNewTemplate($to_parse);
$this->assertEqual($expected, $tpl->render($context));
$this->assertEqual($expected, $tpl->render($context));*/
}
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.07360s using 20 queries.