From 31759cb3b3090c1b9d68ac54f2d2622584003563 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 15 Dec 2008 08:37:09 +0000 Subject: Delete trunk/kohana and trunk/modules/unit_test in preparation to refresh them properly from the vendor branch. --- kohana/controllers/captcha.php | 23 ------------------ kohana/controllers/template.php | 54 ----------------------------------------- 2 files changed, 77 deletions(-) delete mode 100644 kohana/controllers/captcha.php delete mode 100644 kohana/controllers/template.php (limited to 'kohana/controllers') diff --git a/kohana/controllers/captcha.php b/kohana/controllers/captcha.php deleted file mode 100644 index 60f9f401..00000000 --- a/kohana/controllers/captcha.php +++ /dev/null @@ -1,23 +0,0 @@ -" /> - * - * $Id$ - * - * @package Captcha - * @author Kohana Team - * @copyright (c) 2007-2008 Kohana Team - * @license http://kohanaphp.com/license.html - */ -class Captcha_Controller extends Controller { - - public function __call($method, $args) - { - // Output the Captcha challenge resource (no html) - // Pull the config group name from the URL - Captcha::factory($this->uri->segment(2))->render(FALSE); - } - -} // End Captcha_Controller \ No newline at end of file diff --git a/kohana/controllers/template.php b/kohana/controllers/template.php deleted file mode 100644 index 189f2da8..00000000 --- a/kohana/controllers/template.php +++ /dev/null @@ -1,54 +0,0 @@ -template = new View($this->template); - - if ($this->auto_render == TRUE) - { - // Render the template immediately after the controller method - Event::add('system.post_controller', array($this, '_render')); - } - } - - /** - * Render the loaded template. - */ - public function _render() - { - if ($this->auto_render == TRUE) - { - // Render the template when the class is destroyed - $this->template->render(TRUE); - } - } - -} // End Template_Controller \ No newline at end of file -- cgit v1.2.3