From: garvinhicking Date: Tue, 25 Oct 2005 10:03:27 +0000 (+0000) Subject: Update creativecommens license to 2.5, thanks to Christian Dröge! X-Git-Tag: 0.9~24 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a00d6fe163f60d470635efc87531daec74aecab3;p=s9y.git Update creativecommens license to 2.5, thanks to Christian Dröge! --- diff --git a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php index 7d88331..9988cfd 100644 --- a/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php +++ b/plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php @@ -201,12 +201,12 @@ class serendipity_event_creativecommons extends serendipity_event { $license_type = array(); $license_version = $this->get_config('cc_version', '1.0'); - if ( ($license_version < 2.0) && ($this->get_config('cc_v2', 'false') == 'true') ) { - $this->set_config('cc_version', '2.0'); - $license_version = '2.0'; + if ( ($license_version < 2.5) && ($this->get_config('cc_v2', 'false') == 'true') ) { + $this->set_config('cc_version', '2.5'); + $license_version = '2.5'; } - if (($license_version >= 2.0) || serendipity_db_bool($this->get_config('by', true))) { + if (($license_version >= 2.5) || serendipity_db_bool($this->get_config('by', true))) { $license_type[] = 'by'; }