]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache/ProfilerCache.php
Merge remote-tracking branch 'upstream/develop' into aria
[friendica.git] / src / Core / Cache / ProfilerCache.php
index 67f606958a35ddbdfc0375196425857dbbcc26d3..d59b885609d6947766c8fceb216dd8d8cfd49df6 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Friendica\Core\Cache;
 
-use Friendica\Core\Cache;
 use Friendica\Core\System;
 use Friendica\Util\Profiler;
 
@@ -153,8 +152,11 @@ class ProfilerCache implements ICache, IMemoryCache
                }
        }
 
-       public function __toString()
+       /**
+        * {@inheritDoc}
+        */
+       public function GetName()
        {
-               return (string)$this->cache . ' (with profiler)';
+               return $this->cache->getName() . ' (with profiler)';
        }
 }