From 3a5b403c686ab81cc72e77a17e198a1c31910e7b Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Wed, 20 Jul 2011 19:13:42 +0200 Subject: [PATCH] bacula-web: Renammed Chttp class functions call to ChttpRequest class --- gui/bacula-web/backupjob-report.php | 4 ++-- gui/bacula-web/includes/bweb.inc.php | 2 +- gui/bacula-web/jobs.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/bacula-web/backupjob-report.php b/gui/bacula-web/backupjob-report.php index 635e622dcb..996dde55b4 100644 --- a/gui/bacula-web/backupjob-report.php +++ b/gui/bacula-web/backupjob-report.php @@ -30,8 +30,8 @@ // =============================================================== // Get Backup Job name from GET or POST // =============================================================== - $http_post = CHttp::getRequestVars( $_POST ); - $http_get = CHttp::getRequestVars( $_GET ); + $http_post = CHttpRequest::getRequestVars( $_POST ); + $http_get = CHttpRequest::getRequestVars( $_GET ); if( isset( $http_post['backupjob_name'] ) ) $backupjob_name = $http_post['backupjob_name']; diff --git a/gui/bacula-web/includes/bweb.inc.php b/gui/bacula-web/includes/bweb.inc.php index ea45ce3d33..2cbca62105 100644 --- a/gui/bacula-web/includes/bweb.inc.php +++ b/gui/bacula-web/includes/bweb.inc.php @@ -41,7 +41,7 @@ class Bweb $this->init_gettext(); // Check catalog id - $http_post = CHttp::getRequestVars($_POST); + $http_post = CHttpRequest::getRequestVars($_POST); if( isset( $http_post['catalog_id'] ) ) { $this->catalog_current_id = $http_post['catalog_id']; $_SESSION['catalog_id'] = $this->catalog_current_id; diff --git a/gui/bacula-web/jobs.php b/gui/bacula-web/jobs.php index 30cc2e915f..6cd46dd290 100644 --- a/gui/bacula-web/jobs.php +++ b/gui/bacula-web/jobs.php @@ -47,7 +47,7 @@ $query .= "LEFT JOIN Pool ON Job.PoolId=Pool.PoolId "; $query .= "LEFT JOIN Status ON Job.JobStatus = Status.JobStatus "; - $posts = CHttp::getRequestVars( $_POST ); + $posts = CHttpRequest::getRequestVars( $_POST ); if( $posts != false ) { switch( $posts['status'] ) -- 2.39.5