$spamfilters = load_spam_filters();
$AllowSpamFilters = false;
- foreach($spamfilters as $filterskey=>$value) {
+ foreach($spamfilters as $value) {
if ($value['enabled'] == SMPREF_ON) {
$AllowSpamFilters = true;
break;
$run = false;
- foreach ($filters as $Key => $Value) {
+ foreach ($filters as $Value) {
if ($Value['enabled']) {
$run = true;
break;
* @access private
*/
function print_response($response) {
- foreach($response as $index=>$value) {
+ foreach($response as $value) {
if (is_array($value)) {
print_response($value);
}
*/
function plugin_listcommands_optpage_register_block_do()
{
-
global $optpage_blocks, $listcommands_allow_non_rfc_list_management;
// only allow management of non-RFC lists if admin deems necessary
* internal function that builds mailing list links
*/
function plugin_listcommands_menu_do() {
- global $passed_id, $passed_ent_id, $color, $mailbox, $message,
+ global $passed_id, $passed_ent_id, $mailbox, $message,
$startMessage, $oTemplate, $listcommands_allow_non_rfc_list_management;
@include_once(SM_PATH . 'plugins/listcommands/config.php');
function sent_subfolders_update_sentfolder() {
global $sent_folder, $username;
global $sent_subfolders_base, $sent_subfolders_setting;
- global $data_dir, $imapServerAddress, $imapPort, $color;
+ global $data_dir, $imapServerAddress, $imapPort;
global $use_sent_subfolders, $move_to_sent;
sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION);