Skip to content
Snippets Groups Projects
Commit 17bc6d7d authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'task-20164-upgrade-appmonitor' into 'master'

Task 20164 upgrade appmonitor

See merge request !84
parents 74136913 e4e5a93e
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ class appmonitorcheck {
* )
* @return boolean
*/
public function checkCert($aParams) {
private function checkCert($aParams) {
$sUrl = isset($aParams["url"])
? $aParams["url"]
: 'http'. ($_SERVER['HTTPS'] ? 's' : '') . '://' . $_SERVER['SERVER_NAME'] .':' . $_SERVER['SERVER_PORT']
......@@ -325,7 +325,7 @@ class appmonitorcheck {
* )
* @return boolean
*/
public function checkDiskfree($aParams) {
private function checkDiskfree($aParams) {
$this->_checkArrayKeys($aParams, "directory", "critical");
$sDirectory = $aParams["directory"];
......@@ -378,7 +378,7 @@ class appmonitorcheck {
* )
* @return boolean
*/
public function checkFile($aParams) {
private function checkFile($aParams) {
$aOK = array();
$aErrors = array();
$this->_checkArrayKeys($aParams, "filename");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment