upport
This commit is contained in:
parent
e8447d24ac
commit
451601348a
@ -17,6 +17,8 @@ Version 2.0 ()
|
||||
Version 1.7.1 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Upgrader will now remove/delete the browsercompatibility plugin
|
||||
|
||||
* Fixed curl result bug in spartacus plugin
|
||||
|
||||
* Create new migration task for propagate defaultBaseURL when
|
||||
|
@ -181,6 +181,17 @@ $tasks = array(array('version' => '0.5.1',
|
||||
If you have your own custom template, be sure within your {foreach from=$dategroup.entries item="entry"} loop has this line after it:
|
||||
<strong>{assign var="entry" value=$entry scope="parent"}</strong>'),
|
||||
|
||||
array('version' => '1.7.1',
|
||||
'function' => 'serendipity_copyBaseURL',
|
||||
'title' => 'Copy baseURL',
|
||||
'desc' => 'The baseURL option was moved to the defaultBaseURL-Option in the backend-configuration. To reflect that change in the database and to prevent future bugs, baseURL should copied to defaultBaseURL if that options is not set already.'),
|
||||
|
||||
array('version' => '1.7.1',
|
||||
'function' => 'serendipity_killPlugin',
|
||||
'arguments' => array('serendipity_event_browsercompatibility'),
|
||||
'title' => 'Remove obsolete plugin',
|
||||
'desc' => 'The "browsercompatibility" plugin is no longer supported (and no longer required with recent browsers), so it will be automatically uninstalled.'),
|
||||
|
||||
);
|
||||
|
||||
/* Fetch SQL files which needs to be run */
|
||||
|
@ -153,3 +153,21 @@ function serendipity_addDefaultGroups() {
|
||||
serendipity_addDefaultGroup(USERLEVEL_CHIEF_DESC, USERLEVEL_CHIEF);
|
||||
serendipity_addDefaultGroup(USERLEVEL_ADMIN_DESC, USERLEVEL_ADMIN);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* baseURL is now defaultBaseURL in the database, so copy if not already set
|
||||
*
|
||||
* */
|
||||
function serendipity_copyBaseURL() {
|
||||
global $serendipity;
|
||||
if ((serendipity_get_config_var("defaultBaseURL") === false || serendipity_get_config_var("defaultBaseURL") == "" ) && serendipity_get_config_var("baseURL") !== false) {
|
||||
serendipity_set_config_var("defaultBaseURL", serendipity_get_config_var("baseURL"));
|
||||
}
|
||||
}
|
||||
|
||||
function serendipity_killPlugin($name) {
|
||||
global $serendipity;
|
||||
|
||||
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']} WHERE name LIKE '" . serendipity_db_escape_string($name) . "%'");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user