Commit 04f1ccfe authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #432 in ZP/z-push from...

Merge pull request #432 in ZP/z-push from feature/ZP-1115-implement-webserviceinfo--about to develop

* commit 'c0d1478d':
  ZP-1115 Added logging.
  ZP-1115 Return the Z-Push version for WebserviceInfo->About().
parents 04a25dda c0d1478d
...@@ -52,4 +52,15 @@ class WebserviceInfo { ...@@ -52,4 +52,15 @@ class WebserviceInfo {
return $output; return $output;
} }
/**
* Returns the Z-Push version.
*
* @access public
* @return string
*/
public function About() {
ZLog::Write(LOGLEVEL_INFO, sprintf("WebserviceInfo->About(): returning Z-Push version '%s'", @constant('ZPUSH_VERSION')));
return @constant('ZPUSH_VERSION');
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment