move upgrade to correct script
This commit is contained in:
parent
03de39e25f
commit
8d95864a7c
2 changed files with 14 additions and 13 deletions
|
|
@ -51,19 +51,6 @@ finish($session); # this line required
|
||||||
# print "DONE!\n" unless $quiet;
|
# print "DONE!\n" unless $quiet;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# Add twitter auth and macro
|
|
||||||
sub addTwitterAuth {
|
|
||||||
my $session = shift;
|
|
||||||
print "\tAdding twitter auth method... " unless $quiet;
|
|
||||||
|
|
||||||
$session->config->addToArray( 'authMethods', 'Twitter' );
|
|
||||||
$session->config->addToHash( 'macros', "TwitterLogin" => "TwitterLogin" );
|
|
||||||
$session->setting->set( 'twitterEnabled', 0 );
|
|
||||||
|
|
||||||
print "DONE!\n" unless $quiet;
|
|
||||||
}
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# Describe what our function does
|
# Describe what our function does
|
||||||
sub cleanup_inbox_messageStateTable {
|
sub cleanup_inbox_messageStateTable {
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ my $session = start(); # this line required
|
||||||
changeFirstDayOfWeekDefault($session);
|
changeFirstDayOfWeekDefault($session);
|
||||||
updateLastPostCS($session);
|
updateLastPostCS($session);
|
||||||
updateLastPostThread($session);
|
updateLastPostThread($session);
|
||||||
|
addTwitterAuth( $session );
|
||||||
|
|
||||||
finish($session); # this line required
|
finish($session); # this line required
|
||||||
|
|
||||||
|
|
@ -48,6 +49,19 @@ finish($session); # this line required
|
||||||
# print "DONE!\n" unless $quiet;
|
# print "DONE!\n" unless $quiet;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
# Add twitter auth and macro
|
||||||
|
sub addTwitterAuth {
|
||||||
|
my $session = shift;
|
||||||
|
print "\tAdding twitter auth method... " unless $quiet;
|
||||||
|
|
||||||
|
$session->config->addToArray( 'authMethods', 'Twitter' );
|
||||||
|
$session->config->addToHash( 'macros', "TwitterLogin" => "TwitterLogin" );
|
||||||
|
$session->setting->set( 'twitterEnabled', 0 );
|
||||||
|
|
||||||
|
print "DONE!\n" unless $quiet;
|
||||||
|
}
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# Describe what our function does
|
# Describe what our function does
|
||||||
sub changeFirstDayOfWeekDefault {
|
sub changeFirstDayOfWeekDefault {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue