Created
January 26, 2016 22:34
-
-
Save mpenick/a992e2c2135e5f1a20b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/support/ccm.php b/support/ccm.php | |
| index 8f5f5d3..4ce9433 100644 | |
| --- a/support/ccm.php | |
| +++ b/support/ccm.php | |
| @@ -289,7 +289,7 @@ class CCM | |
| $clusters = $this->getClusters(); | |
| foreach ($clusters['list'] as $cluster) { | |
| // Determine if the cluster should be deleted | |
| - if (!$is_all && substr(strtolower($cluster), 0, strlen($this->clusterPrefix)) != $this->clusterPrefix) { | |
| + if (!$is_all || substr(strtolower($cluster), 0, strlen($this->clusterPrefix)) != $this->clusterPrefix) { | |
| continue; | |
| } | |
| $this->removeCluster($cluster); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment