-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase length of City field MDL-19629 - longest place name in NZ is…
… Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu which doesn't fit in 20 chars, I figure 100 chars should be enough
- Loading branch information
1 parent
7851bd3
commit ba0c097
Showing
11 changed files
with
395 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
$capabilities = array( | ||
|
||
'repository/mahara:view' => array( | ||
'captype' => 'read', | ||
'contextlevel' => CONTEXT_SYSTEM, | ||
'archetypes' => array( | ||
'user' => CAP_ALLOW, | ||
'student' => CAP_ALLOW, | ||
'teacher' => CAP_ALLOW, | ||
'editingteacher' => CAP_ALLOW, | ||
'manager' => CAP_ALLOW | ||
) | ||
) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
function xmldb_repository_mahara_upgrade($oldversion) { | ||
|
||
global $CFG, $DB; | ||
|
||
$dbman = $DB->get_manager(); | ||
$result = true; | ||
|
||
/// And upgrade begins here. For each one, you'll need one | ||
/// block of code similar to the next one. Please, delete | ||
/// this comment lines once this file start handling proper | ||
/// upgrade code. | ||
|
||
/// if ($result && $oldversion < YYYYMMDD00) { //New version in version.php | ||
/// $result = result of database_manager methods | ||
/// } | ||
|
||
return $result; | ||
} |
Oops, something went wrong.