Ethna2.3.5とEthna2.6betaを比較する (その4)
# ↓比較コマンド
$ diff Ethna/class/CacheManager.php Ethna-2.6.2011010402/class/CacheManager.php -xwb -u
--- Ethna/class/CacheManager.php 2011-05-08 03:51:25.000000000 +0900
+++ Ethna-2.6.2011010402/class/CacheManager.php 2011-05-07 12:03:06.000000000 +0900
@@ -1,12 +1,12 @@
<?php
// vim: foldmethod=marker tabstop=4 shiftwidth=4 autoindent
/**
- * Ethna_CacheManager.php
+ * CacheManager.php
*
* @author Masaki Fujimoto
* @license http://www.opensource.org/licenses/bsd-license.php The BSD License
* @package Ethna
- * @version $Id: Ethna_CacheManager.php 464 2007-07-04 13:29:34Z ichii386 $
+ * @version $Id: b9d9ef681abffba9d1442b6139d5b4757d603411 $
*/
/**
@@ -27,12 +27,11 @@
*/
function &getInstance($type)
{
- $controller =& Ethna_Controller::getInstance();
- $plugin =& $controller->getPlugin();
+ $controller = Ethna_Controller::getInstance();
+ $plugin = $controller->getPlugin();
- $cache_manager =& $plugin->getPlugin('Cachemanager', ucfirst($type));
+ $cache_manager = $plugin->getPlugin('Cachemanager', ucfirst($type));
return $cache_manager;
}
}
-?>
参照の&がなくなっただけみたい。問題なし!
カテゴリ:
Ethna