File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,12 @@ class phplistPlugin
48
48
49
49
public $ needI18N = 0 ;
50
50
51
+ // Configuration items for the Settings page
52
+ public $ settings = [];
53
+
54
+ // File system path to the plugin file
55
+ public $ origin = '' ;
56
+
51
57
/**
52
58
* set to true, if this plugin provides the WYSIWYG editor for the send page
53
59
* the plugin will then need to implement:.
@@ -237,11 +243,9 @@ public function checkForUpdate(array $pluginDetails)
237
243
*/
238
244
public function activate ()
239
245
{
240
- if (isset ($ this ->settings )) {
241
- foreach ($ this ->settings as $ item => $ itemDetails ) {
242
- $ GLOBALS ['default_config ' ][$ item ] = $ itemDetails ;
243
- $ GLOBALS ['default_config ' ][$ item ]['hidden ' ] = false ;
244
- }
246
+ foreach ($ this ->settings as $ item => $ itemDetails ) {
247
+ $ GLOBALS ['default_config ' ][$ item ] = $ itemDetails ;
248
+ $ GLOBALS ['default_config ' ][$ item ]['hidden ' ] = false ;
245
249
}
246
250
}
247
251
@@ -1091,7 +1095,7 @@ public function validateEmailAddress($emailAddress)
1091
1095
* @param string $emailaddress
1092
1096
* @return bool true if email address should is considered blacklisted
1093
1097
*/
1094
- public function isBlackListedEmail ($ email = '' )
1098
+ public function isBlackListedEmail ($ email = '' )
1095
1099
{
1096
1100
return false ;
1097
1101
}
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ class ONYX_RSS
42
42
public $ data ;
43
43
public $ type ;
44
44
public $ lasterror ;
45
+
46
+ private $ context ;
45
47
/* For when PHP v.5 is released
46
48
* http://www.phpvolcano.com/eide/php5.php?page=variables
47
49
* private $parser;
You can’t perform that action at this time.
0 commit comments