Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
cf00c13b
Commit
cf00c13b
authored
Apr 15, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Apr 15, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Make Annotation block disabled by default"
parents
1bb91904
ffd9f1fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
htdocs/artefact/annotation/blocktype/annotation/lib.php
htdocs/artefact/annotation/blocktype/annotation/lib.php
+6
-0
No files found.
htdocs/artefact/annotation/blocktype/annotation/lib.php
View file @
cf00c13b
...
...
@@ -333,4 +333,10 @@ class PluginBlocktypeAnnotation extends SystemBlocktype {
'mahara'
=>
array
(
'Close'
)
);
}
public
static
function
postinst
(
$fromversion
)
{
if
(
$fromversion
==
0
)
{
set_field
(
'blocktype_installed'
,
'active'
,
0
,
'artefactplugin'
,
'annotation'
);
}
}
}
Write
Preview
Markdown
is supported
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