Skip to content
This repository
Browse code

Fix strict error in 5.4

  • Loading branch information...
commit 921c2c67abf7afdd7d6d2199a5216fd80dc5ba3f 1 parent ec54fa5
Mark Story authored September 13, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Cake/Utility/ObjectCollection.php
2  lib/Cake/Utility/ObjectCollection.php
@@ -286,7 +286,7 @@ public function attached($name = null) {
286 286
  * @return void
287 287
  */
288 288
 	public function unload($name) {
289  
-		$name = array_pop(pluginSplit($name));
  289
+		list(, $name) = pluginSplit($name);
290 290
 		unset($this->_loaded[$name], $this->_enabled[$name]);
291 291
 	}
292 292
 

0 notes on commit 921c2c6

Please sign in to comment.
Something went wrong with that request. Please try again.