Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_base_profile
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_base_profile
Commits
58aadd3c
There was an error fetching the commit references. Please try again later.
Commit
58aadd3c
authored
11 years ago
by
kpaxman
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue where some features are overridden after a clean install
parent
7aa725fa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
uw_base_profile.info
+1
-1
1 addition, 1 deletion
uw_base_profile.info
uw_base_profile.profile
+9
-1
9 additions, 1 deletion
uw_base_profile.profile
with
10 additions
and
2 deletions
uw_base_profile.info
+
1
−
1
View file @
58aadd3c
name = uWaterloo Base Profile
description = uWaterloo base Installation Profile. Has options to install Main and FDSU sites.
version = 7.x-1.6.2-beta
1
version = 7.x-1.6.2-beta
2
core = 7.x
dependencies[] = block
...
...
This diff is collapsed.
Click to expand it.
uw_base_profile.profile
+
9
−
1
View file @
58aadd3c
...
...
@@ -64,7 +64,15 @@ function uw_base_profile_install_tasks() {
* Task callback: installs the site controller.
*/
function
uw_install_site_controller
()
{
$success
=
module_enable
(
array
(
'features'
,
'uw_roles_fdsu'
,
'uw_site_fdsu'
));
$success
=
module_enable
(
array
(
'features'
,
'uw_roles_fdsu'
));
if
(
!
$success
)
{
return
'Could not enable features and roles, a module dependency was missing -- the function module_enable() returned FALSE'
;
}
//rebuild the roles so they exist when the other features are installed
features_rebuild
(
array
(
'uw_roles_fdsu'
=>
array
(
'user_role'
)));
$success
=
module_enable
(
array
(
'uw_site_fdsu'
));
if
(
!
$success
)
{
return
'Could not enable site controller, a module dependency was missing -- the function module_enable() returned FALSE'
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment