浏览代码

remove broken code

Mark Scherer 10 年之前
父节点
当前提交
d36148943e
共有 1 个文件被更改,包括 0 次插入14 次删除
  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
 	 *
 	 * @return array Actions