浏览代码

use reset always

Mark Scherer 10 年之前
父节点
当前提交
ae4e2c37c9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Lib/EmailLib.php

+ 2 - 2
Lib/EmailLib.php

@@ -56,7 +56,7 @@ class EmailLib extends CakeEmail {
 		}
 		}
 		parent::__construct($config);
 		parent::__construct($config);
 
 
-		$this->resetAndSet($config);
+		$this->reset($config);
 	}
 	}
 
 
 	/**
 	/**
@@ -629,7 +629,7 @@ class EmailLib extends CakeEmail {
 	 *
 	 *
 	 * @return void
 	 * @return void
 	 */
 	 */
-	public function resetAndSet($config = null) {
+	public function reset($config = null) {
 		if ($config === null) {
 		if ($config === null) {
 			$config = 'default';
 			$config = 'default';
 		}
 		}