From b36a72add8563466d5ee742fb11ad9a5476de265 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Thu, 25 Oct 2012 06:08:37 -0400
Subject: [PATCH] Fixed: changed all $this->app to $app and $this->db to $app->db and made $app global in functions
---
interface/lib/classes/aps_base.inc.php | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/interface/lib/classes/aps_base.inc.php b/interface/lib/classes/aps_base.inc.php
index 9822cae..b8f6ad9 100644
--- a/interface/lib/classes/aps_base.inc.php
+++ b/interface/lib/classes/aps_base.inc.php
@@ -43,9 +43,6 @@
class ApsBase
{
- protected $app = null;
- protected $db = null;
-
protected $log_prefix = '';
protected $fetch_url = '';
protected $aps_version = '';
@@ -63,9 +60,6 @@
*/
public function __construct($app, $log_prefix = 'APS: ', $interface_mode = false)
{
- $this->db = $app->db;
- $this->app = $app;
-
$this->log_prefix = $log_prefix;
$this->interface_mode = $interface_mode;
$this->fetch_url = 'apscatalog.com';
--
Gitblit v1.9.1