Changeset 14584
- Timestamp:
- Apr 30, 2012, 1:08:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/configuration_watermark_process.inc.php
r14580 r14584 134 134 135 135 // do we have to regenerate the derivatives (and which types)? 136 $types = ImageStdParams::get_defined_type_map();137 136 $changed_types = array(); 138 137 139 foreach ( $typesas $type => $params)138 foreach (ImageStdParams::get_defined_type_map() as $type => $params) 140 139 { 141 140 $old_use_watermark = $params->use_watermark; … … 147 146 $params->last_mod_time = time(); 148 147 $changed_types[] = $type; 149 $types[$type] = $params;150 148 } 151 149 } 152 150 153 ImageStdParams::s et_and_save($types);151 ImageStdParams::save(); 154 152 155 153 if (count($changed_types))
Note: See TracChangeset
for help on using the changeset viewer.