stronk7
2e2a396ca3
Added to the generators the ability of prevent adding prefix for some tables.
...
(needed by adodb_logsql)
2006-09-05 17:17:49 +00:00
stronk7
ea7f147ef5
Now the sessions2 table is UTF8 migrated ok.
2006-09-05 16:04:50 +00:00
moodler
957861f785
Better robustness and basic checking for get_parent_contexts
2006-09-05 09:30:40 +00:00
toyomoyo
3924b9884b
adding capabilities
2006-09-05 08:50:23 +00:00
moodler
91be52d78e
Get the block name correctly
2006-09-05 06:30:12 +00:00
moodler
61647ccb92
Use the defaultsetting if the variable isn't set yet
2006-09-05 03:27:08 +00:00
moodler
75e8eaebe7
Merged MDL-6431 into HEAD
2006-09-05 03:15:09 +00:00
vyshane
4729012f4c
Fixed warning
2006-09-05 03:07:56 +00:00
cap2501
c572cc4dc6
updates to accommodate changes to commands.php
2006-09-05 00:50:08 +00:00
stronk7
95f610334e
Mark two functions as deprecated because that's standard now.
2006-09-04 22:40:42 +00:00
stronk7
fda5418401
$CFG required.
2006-09-04 22:30:56 +00:00
stronk7
010f2a3977
Typo! :-(
2006-09-04 22:17:28 +00:00
stronk7
bf05229983
MSSQL only runs under UTF8 (with the correct ODBTP driver, of course)
2006-09-04 22:16:30 +00:00
stronk7
94ef00f3bb
MSSQL and Oracle don't want DISTINCT clauses over TEXT/BINARY fields.
...
In this case, we simply delete it because SELECT g.* guarantees unique
records to be retrieved by the first field.
2006-09-04 22:05:58 +00:00
stronk7
fea43a7f51
Casting $course->modinfo to string prevents one notice to
...
be showed when it's null, returning false as desired.
2006-09-04 21:12:37 +00:00
moodler
c2da075758
Further reductions in logic to deprectaed functions
2006-09-04 08:31:07 +00:00
vyshane
1795175972
Re-worded comment to make more sense
2006-09-04 08:19:23 +00:00
moodler
dd46fc5daa
Just some small doc changes
2006-09-04 08:15:48 +00:00
vyshane
b331040e9e
TCPDF pdf library
2006-09-04 08:11:37 +00:00
vyshane
713b20faae
Wrapper class with modifications to TCPDF for Moodle usage.
2006-09-04 08:10:08 +00:00
skodak
6d574c33b4
fixed missing global $USER
2006-09-04 08:01:57 +00:00
toyomoyo
2acc290c17
legacy functions to use 4th parameter to by pass doanything capability
2006-09-04 04:50:12 +00:00
moodler
be7ed5f8a8
Merged confirmation email fix from stable
2006-09-04 02:30:52 +00:00
stronk7
56b4d70d58
typo ;-)
2006-09-03 21:43:37 +00:00
stronk7
71c143f41e
The custom function to convert the user table hasn't to drop/create indexes anymore.
...
It's handled automatically by the main utf8 script.
2006-09-03 19:20:01 +00:00
skodak
b1631fef28
add admin_tree to front page during install and upgrade
2006-09-03 18:37:41 +00:00
stronk7
4762bff7a3
Added the feedback attribute to the execute_sql_arr() function.
2006-09-03 17:56:34 +00:00
skodak
e9a207595c
allow deleting of block when original code not present
2006-09-03 17:46:27 +00:00
moodler
460a7a6271
Cutting down on the debug notices
2006-09-03 16:31:46 +00:00
moodler
7191a1fa27
Added capability for showing documentation links
2006-09-03 16:26:55 +00:00
stronk7
de48394039
Prevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process.
2006-09-03 15:33:42 +00:00
skodak
50999a0b94
new admin block fixes and reorganisation - I guess we need something more traditional for now
2006-09-03 13:10:56 +00:00
gustav_delius
5b3df41fd9
The file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore the fallback default in the function get_list_of_countries() should always be en_utf8.
2006-09-03 11:38:45 +00:00
moodler
4d2401d524
Removed student view
2006-09-03 08:46:30 +00:00
moodler
dc411d1be0
Fices bug when loading another user's capabilities (it would trash your own)
2006-09-03 08:45:41 +00:00
moodler
d5a0163891
Removed student view completely until a roles-ased replacement can be made
2006-09-03 08:10:51 +00:00
moodler
c4d0753b25
Moving deprecated functions to deprecatedlib.php from moodlelib.php and
...
some cleanups around the place.
Many of the functions in deprecatedlib.php have been rewritten to work with
the new roles and capabilities so that they can still work as well as possible.
2006-09-03 08:10:10 +00:00
moodler
1911105fa1
Fixed typo
2006-09-03 08:00:03 +00:00
moodler
7700027f40
Improvements to load_notloggedin_role for robustness and clarity.
...
More checking in role_assign and calling of forum_add_user_default_subscriptions
2006-09-03 07:56:40 +00:00
skodak
6eb4f82357
fixed missing return in assign_role()
2006-09-03 07:29:06 +00:00
skodak
02cc05a708
fixes for new admin blocks
2006-09-02 23:55:56 +00:00
stronk7
623942afff
Allowinng tables to create fields/keys/indexes using the one-pass-setters
2006-09-02 23:52:55 +00:00
stronk7
76fd473623
Added one-pass-setters for fields/keys/indexes.
2006-09-02 23:51:39 +00:00
stronk7
cb62712c6d
Added some used strings
2006-09-02 23:49:02 +00:00
stronk7
4dc4dde9e2
First implementation of the create_table() function. Simple.
2006-09-02 23:48:02 +00:00
stronk7
228d8c20d7
New function execute_sql_arr() to execute arrays of
...
statements, Used by ddllib.php mainly.
2006-09-02 23:46:43 +00:00
stronk7
1331745826
course_sections->summary and course_sections->sequence can be NULLable (experimenting....)
2006-09-02 22:37:38 +00:00
skodak
4672d9557d
added prune() to admin tree class to prevent errors in applying of backup defaults
2006-09-02 19:30:54 +00:00
skodak
e0f6e99528
fixed frontpagesettings, install is not useing admin/site.php anymore
2006-09-02 15:29:52 +00:00
skodak
6e4dc10f54
deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes
2006-09-02 13:14:57 +00:00