stronk7
405bc45cf6
No need to specify DISTINCT because u.* guaranties distinct by id.
2006-09-05 19:01:41 +00:00
stronk7
270643ca72
Modified get_users_by_capability() call to use the new limit
...
parameters and cleanup a bit of code.
2006-09-05 18:57:37 +00:00
stronk7
0441764040
Changed the get_users_by_capability() function to work with
...
1.7 DB compatible limit sentences.
2006-09-05 18:55:16 +00:00
stronk7
3c242a66f5
Now get_records_sql() supports limitfrom and limitnum.
...
Required to kill all those hardcoded LIMIT x,y clauses.
2006-09-05 18:53:08 +00:00
stronk7
e4697bf7dc
Both Oracle and MSSQL don't like double quotes for literals.
2006-09-05 18:06:53 +00:00
stronk7
bc942ab58a
Added support to retrofit tables without prefix
2006-09-05 17:55:59 +00:00
stronk7
415280bfc3
Added the adodb_logsql table to the XMLDB schema. It's a bit
...
exceptional because it hasn't prefix and originaly it hasn't
any PK, although we have added it here to be more Moodle-like.
Tested and seems to work properly with the new field.
2006-09-05 17:20:24 +00:00
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
88ab6ab46b
Deleted duplicate table label2 from XMLDB schema
2006-09-05 16:09:15 +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
moodler
43c5b272af
New string for blocks
2006-09-05 09:16:19 +00:00
moodler
dbed4286da
Cleaned up headers when editing roles for blocks
2006-09-05 09:15:52 +00:00
toyomoyo
3924b9884b
adding capabilities
2006-09-05 08:50:23 +00:00
skodak
e778a40617
minor include cleanup
2006-09-05 08:27:14 +00:00
moodler
91be52d78e
Get the block name correctly
2006-09-05 06:30:12 +00:00
moodler
ccbdfdc720
Just changed the order around a bit
2006-09-05 06:13:53 +00:00
moodler
2244c22d72
Use the new config variable as a default for paging
2006-09-05 06:11:48 +00:00
moodler
42093cca5c
Added coursesperpage so paging can be controlled
2006-09-05 03:28:25 +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
cap2501
5be392bd10
Updated so nothing in the database is being manipulated directly except for the block position. look into moving this functionality into the blocks_execute_action.
2006-09-05 00:47:47 +00:00
stronk7
ccda38e521
Don't use db_lowercase() anymore.
2006-09-04 22:45:12 +00:00
stronk7
6b4b356f82
Using the standard sql_as() function, although it could be not used.
2006-09-04 22:42:56 +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
vinkmar
8f5c4adbd7
Changed so that the settingpage titles are shown (see MDL-6402)
2006-09-04 21:38:23 +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
stronk7
0703d22ede
One less reserved word. glossary->comment is out!
2006-09-04 20:37:27 +00:00
skodak
4b83ec33fe
merging collisions cleanup
2006-09-04 20:32:59 +00:00
stronk7
d0d5525d93
Included course/lib.php to be able to rebuild_course_cache()
...
It was working until some time ago, but now it's required.
2006-09-04 19:33:27 +00:00
stronk7
71db9136fb
Now the temp backup directory is properly created/cleaned
...
and indexes info are properly stored there.
2006-09-04 19:27:53 +00:00
ethem
9456e4b7be
*** empty log message ***
2006-09-04 12:31:54 +00:00
ethem
b4efae98b4
New strings for echecks.
2006-09-04 12:25:21 +00:00
ethem
131a7ca81b
New config: Echeck bank account types enabled.
2006-09-04 12:09:30 +00:00
ethem
4d072568c0
New string: adminaccepts; Select payment methods allowed and their types
2006-09-04 12:09:25 +00:00
ethem
460635599a
Autoconfigure accepted echeck bank account types. CHECKING, BUSINESSCHECKING, SAVINGS
2006-09-04 09:44:00 +00:00
toyomoyo
cc398c7262
adding caapabilities
2006-09-04 08:45:08 +00:00
moodler
6ea5ff3ab7
Make Moodle Docs work for settings pages
2006-09-04 08:33:57 +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