1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Upgrade routine now separates non-core plugin sql changes into their own area.

This commit is contained in:
Cameron
2015-01-27 13:00:33 -08:00
parent 666ea246c2
commit a35f7ef171
3 changed files with 44 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ class db_verify
*/
function verify()
{
print_a($_POST);
if(vartrue($_POST['verify_table']))
{
$this->runComparison($_POST['verify_table']);
@@ -112,7 +112,7 @@ class db_verify
function runComparison($fileArray)
{
$ns = e107::getRender();
$mes = e107::getMessage();
$frm = e107::getForm();
@@ -366,6 +366,15 @@ class db_verify
}
}
/**
* Returns the number of errors
*/
public function errors()
{
return count($this->errors);
}
function renderResults()