Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-08-02 17:59:33 +0400
committermattab <matthieu.aubry@gmail.com>2013-08-02 17:59:33 +0400
commita96ec40e983a8b64f4c25def541a519ff3670e6a (patch)
treebef2a5f7b1e9532dc96161334e23a553cdff7ea1 /plugins/Proxy
parent61997f45e4c39360000e815c9e0853ae04e2f56f (diff)
Refs #4059 Converting dozens of plugins/* classes to use Namespaces, \Piwik\Plugins\*
Added namespaces to functions.php files in the five plugins that had one Work in progress
Diffstat (limited to 'plugins/Proxy')
-rw-r--r--plugins/Proxy/Controller.php9
-rw-r--r--plugins/Proxy/Proxy.php9
2 files changed, 10 insertions, 8 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php
index cf1b362c7b..d358908805 100644
--- a/plugins/Proxy/Controller.php
+++ b/plugins/Proxy/Controller.php
@@ -6,20 +6,21 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @category Piwik_Plugins
- * @package Piwik_Proxy
+ * @package Proxy
*/
+namespace Piwik\Plugins\Proxy;
+
use Piwik\Piwik;
use Piwik\Common;
use Piwik\AssetManager;
-use Piwik\Controller;
use Piwik\Url;
/**
* Controller for proxy services
*
- * @package Piwik_Proxy
+ * @package Proxy
*/
-class Piwik_Proxy_Controller extends Controller
+class Controller extends \Piwik\Controller
{
const TRANSPARENT_PNG_PIXEL = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=';
diff --git a/plugins/Proxy/Proxy.php b/plugins/Proxy/Proxy.php
index 47d085a70c..7c7959d0e1 100644
--- a/plugins/Proxy/Proxy.php
+++ b/plugins/Proxy/Proxy.php
@@ -6,17 +6,18 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @category Piwik_Plugins
- * @package Piwik_Proxy
+ * @package Proxy
*/
+namespace Piwik\Plugins\Proxy;
+
use Piwik\Version;
-use Piwik\Plugin;
/**
* Proxy services for the UI
*
- * @package Piwik_Proxy
+ * @package Proxy
*/
-class Piwik_Proxy extends Plugin
+class Proxy extends \Piwik\Plugin
{
/**
* Return information about this plugin.