Last active
August 26, 2016 16:26
-
-
Save bangpound/81831df3c204b7c8b26350d8dbdbd860 to your computer and use it in GitHub Desktop.
hides error message.
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/src/Entity/Workflow.php b/src/Entity/Workflow.php | |
index d484db9..e79c6e0 100644 | |
--- a/src/Entity/Workflow.php | |
+++ b/src/Entity/Workflow.php | |
@@ -296,7 +296,7 @@ class Workflow extends ConfigEntityBase implements WorkflowInterface { | |
} | |
else { | |
// This should never happen, but it did during testing. | |
- drupal_set_message(t('There are no workflow states available. Please notify your site administrator.'), 'error'); | |
+ // drupal_set_message(t('There are no workflow states available. Please notify your site administrator.'), 'error'); | |
$sid = 0; | |
} | |
return $sid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment