Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
901e6d58
Commit
901e6d58
authored
Oct 25, 2007
by
Nigel McNie
Browse files
Added core categories for blocktypes
parent
40d30d5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/upgrade.php
View file @
901e6d58
...
...
@@ -790,7 +790,7 @@ function sort_upgrades($k1, $k2) {
* (eg not tied to artefact plugins)
*/
function
get_core_blocktype_categories
()
{
return
array
();
return
array
(
'general'
,
'images'
,
'multimedia'
,
'rss'
);
}
function
install_blocktype_categories_for_plugin
(
$blocktype
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment