Browse Source

use reset always

Mark Scherer 10 years ago
parent
commit
ae4e2c37c9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Lib/EmailLib.php

+ 2 - 2
Lib/EmailLib.php

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