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:
authorThomas Steur <tsteur@users.noreply.github.com>2014-06-06 09:51:06 +0400
committerThomas Steur <tsteur@users.noreply.github.com>2014-06-06 09:51:06 +0400
commit89e8f8e36a08d5881d747a4211dd27e9d2cb0890 (patch)
tree6a549b1f8d38a4c24b7515fc0b4e7a0bc52b53d7 /core/ScheduledTask.php
parentb457fcc96885ae6a33896be4f1e98aec9efaf0fa (diff)
refs #5301 to prevent naming collisions use the full class namespace
Diffstat (limited to 'core/ScheduledTask.php')
-rw-r--r--core/ScheduledTask.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ScheduledTask.php b/core/ScheduledTask.php
index f126cecbfc..de1d582b7b 100644
--- a/core/ScheduledTask.php
+++ b/core/ScheduledTask.php
@@ -101,10 +101,10 @@ class ScheduledTask
}
$namespaced = get_class($_objectInstance);
- $class = explode('\\', $namespaced);
- return end($class);
- }
+ return $namespaced;
+ }
+
/**
* Returns the object instance that contains the method to execute. Returns a class
* name if the method is static.