skodak
a1069b070a
MDL-6696 Default country doesn't display on dropdown menu
2006-09-30 19:46:10 +00:00
stronk7
9c4ee55b6c
Added rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:49 +00:00
stronk7
57770f7a50
Adding support to rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:16 +00:00
stronk7
e77fd021e6
Implemented rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:43:16 +00:00
stronk7
6c89dc5514
Added rename_index()
...
Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:24:14 +00:00
stronk7
1c86ef5b1c
Adding support for index renaming. Note that MySQL doesn't support this
...
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:23:00 +00:00
stronk7
61af97e76b
Added new function change_field_enum()
2006-09-30 17:06:20 +00:00
stronk7
b899d9bf1d
Added support to change_field_enum() across all RDBMS
2006-09-30 17:03:17 +00:00
julmis
9337f3e48d
Merging fixes from MOODLE_16_STABLE
2006-09-30 16:07:43 +00:00
stronk7
3e1861cc87
Applying the field_exists() check to add and drop fields.
2006-09-30 15:48:23 +00:00
stronk7
342da808c5
New function field_exists() to detect if one field exists
2006-09-30 15:35:32 +00:00
stronk7
73d111a820
Add some checks to detect if one table exists before creating or
...
dropping it. Part of MDL-6614
2006-09-30 15:19:56 +00:00
stronk7
7471f3f0dd
Adding some debugging() for some controlled actions.
2006-09-30 15:15:34 +00:00
stronk7
ed37b15464
Moving some uses of find_index_name() to index_exists()
2006-09-30 15:00:46 +00:00
stronk7
cf9a1a40f1
Fixed typo
2006-09-30 14:59:03 +00:00
stronk7
4103c3545c
Prevent tables without prefix to be duplicated at install time. MDL-6614
2006-09-30 14:36:52 +00:00
moodler
26ea488855
Don't show progress bar when there's nothing worth showing
2006-09-30 13:52:15 +00:00
stronk7
2719f3e2c9
Inside ddllib, for consistency we call parameters table, field...
...
(without the xmldb_ prefix)
2006-09-30 13:04:17 +00:00
stronk7
a504ba0213
Added index_exists(). One wrapper over find_index_name()
2006-09-30 12:56:39 +00:00
stronk7
512a237ff6
One more use of getTableName() added.
2006-09-30 12:34:17 +00:00
stronk7
9af19c728d
Extendig use of new getTableName() over all generators
2006-09-30 12:13:07 +00:00
stronk7
97b9178459
New getTableName() function to get normalised table names everywhere
2006-09-30 12:03:19 +00:00
stronk7
68bc165bed
Added new function table_exists() to be used later...
2006-09-30 12:01:33 +00:00
stronk7
87c6baf4a1
Ah! forgot to interchange keys and values!
2006-09-30 11:09:44 +00:00
stronk7
ef18962b00
Execute the index_get_name() silently to avoid a lot of
...
output in the install/upgrade process. Original db->debug
is re-set to their original status once executed.
2006-09-30 10:54:37 +00:00
stronk7
6e152cc621
Now basic types of conversion (int2char, char2int, number2char, char2number)
...
are working properly under all RDBMS.
2006-09-29 17:49:04 +00:00
moodler
76389cec17
Fixed the upgrade from 1.6.x. The role->shortname field was not being created.
2006-09-29 06:43:42 +00:00
moodler
aae37b638c
Added progress bar to role assignments during upgrade
2006-09-29 06:41:10 +00:00
moodler
72da504606
Added a progress bar for the role assignments
2006-09-29 06:19:47 +00:00
moodler
ea35ab87d9
Header and footer should include $CFG->header and $CFG->footer, just in
...
case the chosen theme doesn't exist any more
2006-09-29 05:43:48 +00:00
moodler
459c1ff12a
Just tidying up code while reading it
2006-09-29 05:35:37 +00:00
toyomoyo
ed59cd6ea4
fix for MDL-5670
2006-09-29 02:19:27 +00:00
stronk7
f020b35705
Moving some change_field_XXX() functions and introducing
...
change_field_type(). Seems to work everywere but under
mssql (due to some problems with default constraints).
Will see it tomorrow.
2006-09-28 23:14:52 +00:00
stronk7
599caff8c5
prevent nulls to become nulls (oracle error)
...
and defaults null to become defaults null
when temporary columns are used
2006-09-28 23:06:04 +00:00
stronk7
5adc951c4f
Don't rely on index names to decide if we have to drop one key
2006-09-28 22:05:11 +00:00
stronk7
d54f85efa6
minor adjust. keytype to drop keys is not needed anymore. now it's
...
defined in mysql generator (the only one needing it)
2006-09-28 21:47:36 +00:00
stronk7
ac5ff0e787
fixed one wrong constant
2006-09-28 20:12:00 +00:00
stronk7
9c46a7e6f9
changed mysql drop index syntax. Nothing relevant.
2006-09-28 20:11:30 +00:00
stronk7
71ea93e023
Argh! More than 3 hours searching for this error! I was calling one
...
constructor with wrong number of parameters and PHP said nothing at
all (with DEVELOPER level of debugging). Horrible OOP !
2006-09-28 20:06:08 +00:00
stronk7
53d3b80798
prevent some warnings on tables without indexes
2006-09-28 19:43:17 +00:00
stronk7
4690f076ca
Now keys and indexes are PERFECT (argh, Oracle, once more was causing problems)
2006-09-28 18:56:21 +00:00
stronk7
4df8b6cdfc
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:39:33 +00:00
stronk7
1a275daaaf
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:31:28 +00:00
skodak
30fce5000a
removed one more unneeded file from adodb library
2006-09-28 18:29:54 +00:00
stronk7
55c4b9435d
add_key() and drop_key() are working (with sync of undelying
...
indexes automated)
2006-09-28 17:30:14 +00:00
stronk7
fac17f427f
add_key() and drop_key() are working (with sync of undelying
...
indexes automated)
2006-09-28 17:25:00 +00:00
stronk7
0852990f9b
Deleting some parameters that aren't needed anymore. Code will
...
decide if creating underlying indexes for keys automatically now.
Also, add_key() and drop_key() are working (with sync of undelying
indexes automated)
2006-09-28 17:20:21 +00:00
stronk7
662244cb77
Deleting some parameters that aren't needed anymore. Code will
...
decide if creating underlying indexes for keys automatically now.
2006-09-28 17:02:49 +00:00
moodler
b7b0afb87f
Fixed a capability name: MDL-6727
2006-09-28 15:06:07 +00:00
jamiesensei
909ec807cb
moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907
2006-09-28 10:32:23 +00:00