projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4d0af
)
remove commented out code
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 31 Dec 2010 15:14:43 +0000
(10:14 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 31 Dec 2010 15:31:56 +0000
(10:31 -0500)
ansel/lib/Ansel.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Ansel.php
b/ansel/lib/Ansel.php
index
355a143
..
5faabf0
100644
(file)
--- a/
ansel/lib/Ansel.php
+++ b/
ansel/lib/Ansel.php
@@
-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);
}