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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user