diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2014-06-06 09:51:06 +0400 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2014-06-06 09:51:06 +0400 |
commit | 89e8f8e36a08d5881d747a4211dd27e9d2cb0890 (patch) | |
tree | 6a549b1f8d38a4c24b7515fc0b4e7a0bc52b53d7 /core | |
parent | b457fcc96885ae6a33896be4f1e98aec9efaf0fa (diff) |
refs #5301 to prevent naming collisions use the full class namespace
Diffstat (limited to 'core')
-rw-r--r-- | core/ScheduledTask.php | 6 |
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. |