From 89e8f8e36a08d5881d747a4211dd27e9d2cb0890 Mon Sep 17 00:00:00 2001 From: Thomas Steur <tsteur@users.noreply.github.com> Date: Fri, 6 Jun 2014 17:51:06 +1200 Subject: [PATCH] refs #5301 to prevent naming collisions use the full class namespace --- core/ScheduledTask.php | 6 +++--- 1 file 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. -- GitLab