Skip to content
Snippets Groups Projects

hotline #47505 : CDScript consult link: with no identity, consult link is ajax-login

Compare and Show latest version
2 files
+ 29
21
Preferences
Compare changes
Files
2
@@ -24,8 +24,7 @@ class Class_WebService_SIGB_CdScript {
protected static $service;
public static function getService($params){
if (!isset(static::$service)) {
if (!static::$service) {
$instance = new static();
$classname = get_called_class().'_Service';
static::$service = $classname::getService($params['server_url'],
@@ -35,5 +34,9 @@ class Class_WebService_SIGB_CdScript {
return static::$service;
}
public static function resetService() {
static::$service = null;
}
}
?>
\ No newline at end of file