Changeset 2272 for plugins/gallery/trunk/class.dc.gallery.php
- Timestamp:
- 05/27/10 08:25:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/gallery/trunk/class.dc.gallery.php
r2264 r2272 53 53 $this->sortby = array(__('Ascending') => 'ASC', 54 54 __('Descending') => 'DESC' ); 55 if ( !version_compare(DC_VERSION,'2.2alpha','>=')) {56 $core->blog->settings-> setNamespace('gallery');55 if (version_compare(DC_VERSION,'2.2-alpha','>=')) { 56 $core->blog->settings->addNamespace('gallery'); 57 57 $this->settings =& $core->blog->settings->gallery; 58 58 } else {
Note: See TracChangeset
for help on using the changeset viewer.