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
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
skodak
35a518c5de
fixed admin defaults, some warnings during install and added trmporary hack to make $CFG->notloggedinroleid work
2006-09-02 10:03:30 +00:00
stronk7
d32d63b6e0
Now record_exists_sql() uses the cross-db limit implementation.
2006-09-01 18:33:19 +00:00
stronk7
0be16c1d8c
mssql doesn't support aliases nor position numbers in the
...
GROUP BY clause. Just columns and expressions.
2006-09-01 18:24:09 +00:00
stronk7
8351e29517
Introduced one function to calculate the proper "AS"
...
keyword for columns. All DB seems to support it but
PostgreSQL require it!
2006-09-01 17:45:02 +00:00
toyomoyo
20aeb4b8e3
utf8 migrate support for site with roles active, resolved isstudent legacy problem, implemented $CFG->notloggedinroleid
2006-09-01 09:25:34 +00:00
moodler
9ebcb4d28e
if role_assign is called by the current user on themselves, then reload
...
the capabilities table
2006-09-01 06:30:01 +00:00
moodler
1dc1f03795
More flexible role_unassign() that allows setting of any combination of arguments
2006-09-01 06:10:45 +00:00
stronk7
5f941d12ab
user->description can be NULLable (experimenting....)
2006-08-31 23:31:36 +00:00
stronk7
9b99c05f10
user->description can be NULLable (experimenting....)
2006-08-31 23:20:47 +00:00
stronk7
6c76032bc1
course_categories->description can be NULLable (experimenting....)
2006-08-31 23:17:23 +00:00
stronk7
1d39207fae
course_categories->description can be NULLable (experimenting....)
2006-08-31 23:04:15 +00:00
stronk7
17c9113752
This condition was preventing new installs sometimes
2006-08-31 22:42:04 +00:00