23 lines
584 B
PHP
23 lines
584 B
PHP
<?php //$Id$
|
|
|
|
function rss_client_upgrade($oldversion) {
|
|
/// This function does anything necessary to upgrade
|
|
/// older versions to match current functionality
|
|
|
|
global $CFG;
|
|
|
|
if ($oldversion < 2003111500) {
|
|
# Do something ...
|
|
}
|
|
|
|
if ($oldversion < 2005111400) {
|
|
// title and description should be TEXT as we don't have control over their length.
|
|
table_column('block_rss_client','title','title','text',10,'unsigned','');
|
|
table_column('block_rss_client','description','description','text',10,'unsigned','');
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
?>
|