Browse Source

remove broken code

Mark Scherer 10 years ago
parent
commit
d36148943e
1 changed files with 0 additions and 14 deletions
  1. 0 14
      src/Controller/Component/CommonComponent.php

+ 0 - 14
src/Controller/Component/CommonComponent.php

@@ -36,20 +36,6 @@ class CommonComponent extends Component {
 	}
 	}
 
 
 	/**
 	/**
-	 * Called after the Controller::beforeRender(), after the view class is loaded, and before the
-	 * Controller::render()
-	 *
-	 * @param object $Controller Controller with components to beforeRender
-	 * @return void
-	 */
-	public function beforeRender(Event $event) {
-		// Custom options
-		if (isset($Controller->options)) {
-			$Controller->set('options', $Controller->options);
-		}
-	}
-
-	/**
 	 * List all direct actions of a controller
 	 * List all direct actions of a controller
 	 *
 	 *
 	 * @return array Actions
 	 * @return array Actions