aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 511bbe31f..f4e58cd37 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -158,13 +158,6 @@ function ws_std_image_sql_filter( $params, $tbl_name='' )
{
$clauses[] = $tbl_name.'tn_ext IS NOT NULL';
}
- // Squared picture to show to rvelices how to solve that kind of request
- if ( $params['f_square_ratio'] )
- {
- $clauses[] = $tbl_name.'width/'.$tbl_name.'height BETWEEN '
- . $params['f_square_ratio'] . ' AND '
- . (2 - $params['f_square_ratio']) ;
- }
return $clauses;
}