|
@@ -84,7 +84,8 @@ discard block |
|
|
block discarded – undo |
|
84
|
84
|
* |
|
85
|
85
|
* @return bool True if the module is network only, false otherwise. |
|
86
|
86
|
*/ |
|
87
|
|
-function is_network_only_wordpoints_module( $module ) { // @codingStandardsIgnoreLine |
|
|
87
|
+function is_network_only_wordpoints_module( $module ) { |
|
|
88
|
+// @codingStandardsIgnoreLine |
|
88
|
89
|
|
|
89
|
90
|
$module_data = wordpoints_get_module_data( wordpoints_extensions_dir() . '/' . $module ); |
|
90
|
91
|
|
|
@@ -100,7 +101,8 @@ discard block |
|
|
block discarded – undo |
|
100
|
101
|
* |
|
101
|
102
|
* @return bool True if the module has an uninstall script, false otherwise. |
|
102
|
103
|
*/ |
|
103
|
|
-function is_uninstallable_wordpoints_module( $module ) { // @codingStandardsIgnoreLine |
|
|
104
|
+function is_uninstallable_wordpoints_module( $module ) { |
|
|
105
|
+// @codingStandardsIgnoreLine |
|
104
|
106
|
|
|
105
|
107
|
return ( file_exists( wordpoints_extensions_dir() . '/' . dirname( wordpoints_module_basename( $module ) ) . '/uninstall.php' ) ); |
|
106
|
108
|
} |
Please login to merge, or discard this patch.