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

lint: Fix static analysis errors

parent f97dfaa6
No related branches found
Tags v1.9.4-dpr
No related merge requests found
......@@ -68,6 +68,8 @@ class PluginConfig extends Config {
}
function commitForm(&$errors=array()) {
global $msg;
$f = $this->getForm();
$commit = false;
if ($f->isValid()) {
......
......@@ -296,6 +296,7 @@ class MysqlSearchBackend extends SearchBackend {
$key = 'COALESCE(B1.ticket_id, B2.ticket_id, B3.ticket_id, B4.ticket_id)';
$tables[] = "{$P}ticket A1 ON (A1.ticket_id = {$key})";
$cdata_search = false;
$where = array();
if ($criteria) {
foreach ($criteria as $name=>$value) {
......
......@@ -10,6 +10,7 @@ class mysqli {
function real_connect() {}
function select_db() {}
function set_charset() {}
function autocommit() {}
}
class mysqli_stmt {
......@@ -113,4 +114,12 @@ class finfo {
class Locale {
function getDisplayName() {}
}
class IntlBreakIterator {
static function createWordInstance() {}
function setText() {}
}
class SqlFunction {
static function NOW() {}
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment