From 9fc8c36b9413e0a12f77308c820d6d446b4fc6c5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 8 Jul 2011 12:44:25 -0700 Subject: [PATCH] Removing comment bloat from Redirect class. --- system/redirect.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/system/redirect.php b/system/redirect.php index 9c5ada19..df3eb094 100644 --- a/system/redirect.php +++ b/system/redirect.php @@ -75,13 +75,6 @@ class Redirect { */ public static function __callStatic($method, $parameters) { - // Get the parameters for the method. Dynamic routes can be generated using an - // array of parameters for routes that contain wildcards, such as /user/(:num). - // - // Example: Redirect::to_profile(array(1)); - // - // Here we'll check to see if a parameter was passed. If it wasn't, we'll just - // pass an empty array into the URL generator. $parameters = (isset($parameters[0])) ? $parameters[0] : array(); // Dynamically redirect to a secure route URL.