浏览代码

Fixed some typo error on cache commands

Marc 11 年之前
父节点
当前提交
c6b955c448
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Command/GearmanCacheClearCommand.php
  2. 1 1
      Command/GearmanCacheWarmupCommand.php

+ 1 - 1
Command/GearmanCacheClearCommand.php

@@ -56,7 +56,7 @@ class GearmanCacheClearCommand extends ContainerAwareCommand
 
         $this
             ->getContainer()
-            ->get('@gearman.cache.wrapper')
+            ->get('gearman.cache.wrapper')
             ->flush();
     }
 }

+ 1 - 1
Command/GearmanCacheWarmupCommand.php

@@ -56,7 +56,7 @@ class GearmanCacheWarmupCommand extends ContainerAwareCommand
 
         $this
             ->getContainer()
-            ->get('@gearman.cache.wrapper')
+            ->get('gearman.cache.wrapper')
             ->flush()
             ->load();
     }