Skip to content
Snippets Groups Projects
Commit 7804ec66 authored by Jared Hancock's avatar Jared Hancock
Browse files

lint: Fix various pre-release issues

parent 8cfb6f40
No related branches found
No related tags found
No related merge requests found
......@@ -305,6 +305,8 @@ class osTicket {
$level=3; //Debug
}
$loglevel=array(1=>'Error','Warning','Debug');
$info = array(
'title' => &$title,
'level' => $loglevel[$level],
......@@ -322,7 +324,6 @@ class osTicket {
$this->alertAdmin($title, $message);
//Save log based on system log level settings.
$loglevel=array(1=>'Error','Warning','Debug');
$sql='INSERT INTO '.SYSLOG_TABLE.' SET created=NOW(), updated=NOW() '
.',title='.db_input(Format::sanitize($title, true))
.',log_type='.db_input($loglevel[$level])
......
......@@ -26,6 +26,11 @@ class mysqli_stmt {
function free() {}
}
class mysqli_result {
function free() {}
function free_result() {}
}
class ReflectionClass {
function getMethods() {}
function getConstants() {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment