remove commented out code
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Dec 2010 15:14:43 +0000 (10:14 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Dec 2010 15:31:56 +0000 (10:31 -0500)
ansel/lib/Ansel.php

index 355a143..5faabf0 100644 (file)
@@ -363,20 +363,6 @@ class Ansel
     {
         global $conf;
 
-        // To avoid having to add a new img/* file everytime we add a new
-        // thumbstyle, we check for the 'non-prettythumb' views, then route the
-        // rest through prettythumb, passing it the style.
-//        switch ($view) {
-//        case 'screen':
-//        case 'full':
-//        case 'thumb':
-//        case 'mini':
-//            // Do nothing.
-//            break;
-//        default:
-//            $view = 'prettythumb';
-//        }
-
         if (empty($imageId)) {
             return Horde::url((string)Ansel::getErrorImage($view), $full);
         }