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
4d1c6407
Commit
4d1c6407
authored
Jan 21, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Jan 21, 2015
Browse files
Merge "Remove "Journal" checkbox option from profile completion. Bug 1408438"
parents
7c558114
84ed8d13
Changes
4
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/db/upgrade.php
View file @
4d1c6407
...
...
@@ -55,5 +55,9 @@ function xmldb_artefact_blog_upgrade($oldversion=0) {
delete_records
(
'artefact_cron'
,
'plugin'
,
'blog'
,
'callfunction'
,
'clean_post_files'
);
}
if
(
$oldversion
<
2015011500
)
{
delete_records
(
'institution_config'
,
'field'
,
'progressbaritem_blog_blog'
);
}
return
true
;
}
htdocs/artefact/blog/lib.php
View file @
4d1c6407
...
...
@@ -136,6 +136,10 @@ class ArtefactTypeBlog extends ArtefactType {
}
}
public
static
function
is_allowed_in_progressbar
()
{
return
false
;
}
/**
* This function updates or inserts the artefact. This involves putting
* some data in the artefact table (handled by parent::commit()), and then
...
...
htdocs/artefact/blog/version.php
View file @
4d1c6407
...
...
@@ -12,5 +12,5 @@
defined
(
'INTERNAL'
)
||
die
();
$config
=
new
StdClass
;
$config
->
version
=
201
10914
00
;
$config
->
release
=
'1.1.
0
'
;
$config
->
version
=
201
50115
00
;
$config
->
release
=
'1.1.
1
'
;
test/behat/features/journal_checkbox.feature
0 → 100644
View file @
4d1c6407
@javascript
@core
@core_profile_completion
@journal
Feature
:
Checking the absence of the journal checkbox
In order not to see the Journal checkbox
As an admin
So I can complete my profile without needing to tick it
Scenario
:
Checking the absence of the journal checkbox (Bug 1408438)
Given
I log in as
"admin"
with password
"Password1"
And
I follow
"Administration"
And
I follow
"Institutions"
When
I choose
"Profile completion"
in
"Institutions"
And
I follow
"Journals"
Then
"Journal"
"checkbox"
should not exist
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