Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
provision
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
provision
Commits
d635915c
Commit
d635915c
authored
Jul 27, 2009
by
anarcat
Committed by
anarcat
Jul 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#529348
- do not failed disabling broken sites
parent
bec5abec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
platform/backup.provision.inc
platform/backup.provision.inc
+1
-1
platform/disable.provision.inc
platform/disable.provision.inc
+0
-11
No files found.
platform/backup.provision.inc
View file @
d635915c
...
...
@@ -11,7 +11,7 @@
*/
function
drush_provision_drupal_provision_backup_validate
(
$url
=
NULL
,
$backup_file
=
NULL
)
{
drush_bootstrap
(
DRUSH_BOOTSTRAP_DRUPAL_SITE
);
if
(
!
drush_get_option
(
'installed'
))
{
if
(
!
drush_get_option
(
'installed'
)
&&
!
drush_get_option
(
'force'
,
false
)
)
{
drush_set_error
(
'PROVISION_DRUPAL_SITE_NOT_FOUND'
);
}
...
...
platform/disable.provision.inc
View file @
d635915c
...
...
@@ -8,17 +8,6 @@
* Disable an enabled and installed site
*/
/**
* Make sure the command we are running is on an installed site.
*/
function
drush_provision_drupal_provision_disable_validate
()
{
drush_bootstrap
(
DRUSH_BOOTSTRAP_DRUPAL_SITE
);
if
(
!
drush_get_option
(
'installed'
))
{
drush_set_error
(
'PROVISION_DRUPAL_SITE_FOUND'
);
}
}
/**
* Make a backup of the site before we mess with it
*/
...
...
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