mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
Util: add missing use, remove backslash
This commit is contained in:
parent
cc9b783f69
commit
24cd649908
@ -5,6 +5,7 @@ namespace Icinga\Module\Director;
|
|||||||
use Icinga\Authentication\Manager;
|
use Icinga\Authentication\Manager;
|
||||||
use Icinga\Data\ResourceFactory;
|
use Icinga\Data\ResourceFactory;
|
||||||
use Icinga\Module\Director\Web\Form\QuickForm;
|
use Icinga\Module\Director\Web\Form\QuickForm;
|
||||||
|
use Icinga\Web\Url;
|
||||||
use Zend_Db_Expr;
|
use Zend_Db_Expr;
|
||||||
|
|
||||||
class Util
|
class Util
|
||||||
@ -15,7 +16,7 @@ class Util
|
|||||||
|
|
||||||
public static function pgBinEscape($binary)
|
public static function pgBinEscape($binary)
|
||||||
{
|
{
|
||||||
return new \Zend_Db_Expr("'\\x" . bin2hex($binary) . "'");
|
return new Zend_Db_Expr("'\\x" . bin2hex($binary) . "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function hex2binary($bin)
|
public static function hex2binary($bin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user