Commit 974c6a59 authored by Alan McNatty's avatar Alan McNatty
Browse files

Removed bogus usr table fields (old commit cleanup)

parent 1778d6d1
......@@ -69,7 +69,7 @@ $string['hiderealnamedescription'] = 'Check this box if you have set a display n
$string['showhomeinfo'] = 'Show information about Mahara on the home page';
$string['mobileuploadtoken'] = 'Mobile upload token.';
$string['mobileuploadtoken'] = 'Mobile upload token';
$string['mobileuploadtokendescription'] = 'Enter a token here and on your phone to enable uploads (note: it will change automatically after each upload. <br/>If you have any problems - simply reset it here and on your phone.';
$string['prefssaved'] = 'Preferences saved';
......
......@@ -106,7 +106,6 @@
<FIELD NAME="authinstance" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="1" />
<FIELD NAME="ctime" TYPE="datetime" NOTNULL="false" />
<FIELD NAME="showhomeinfo" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="1" />
<FIELD NAME="mobileuploadtoken" TYPE="char" LENGTH="255" NOTNULL="true"/>
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />
......
......@@ -2207,10 +2207,5 @@ function xmldb_core_upgrade($oldversion=0) {
}
}
if ($oldversion < 2010100821) {
execute_sql('ALTER TABLE {usr} ADD COLUMN mobileuploadtoken CHARACTER VARYING(255)');
set_config('mobileuploadtoken', 1);
}
return $status;
}
......@@ -700,7 +700,6 @@ function core_install_firstcoredata_defaults() {
set_config('userscanchooseviewthemes', 1);
set_config('anonymouscomments', 1);
set_config('homepageinfo', 1);
set_config('mobileuploadtoken', '');
set_config('showonlineuserssideblock', 1);
set_config('footerlinks', serialize(array('privacystatement', 'about', 'contactus')));
set_config('searchusernames', 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment