mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 06:44:33 +02:00
parent
1c5bf36538
commit
dfbcc066a7
@ -331,4 +331,14 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
|
|||||||
array_push($parts, 'Query', ucfirst(strtolower($query)) . 'Query');
|
array_push($parts, 'Query', ucfirst(strtolower($query)) . 'Query');
|
||||||
return implode('\\', $parts);
|
return implode('\\', $parts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch and return the program version of the current instance
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getProgramVersion()
|
||||||
|
{
|
||||||
|
return $this->select()->from('programstatus', array('program_version'))->fetchOne();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user