Plugin Directory

Changeset 1234391


Ignore:
Timestamp:
08/31/2015 04:03:21 AM (10 years ago)
Author:
websima
Message:

fix subscribe message

Location:
teletter-telegram-newsletter/trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • teletter-telegram-newsletter/trunk/includes/api-page.php

    r1234058 r1234391  
    8282    //sendadminmessagebot ('new subscriber');
    8383    }
     84        } else {
     85        update_post_meta ($checker->ID,'activity','active');
     86        sendmessagebot ($user_id,$welcome);
     87    if ($adminupdate == 'both' || $adminupdate == 'subs') {
     88    sendadminmessagebot ('new subscriber');
     89        }
    8490        }
    8591    } elseif ($text == $unsubcommand) {
  • teletter-telegram-newsletter/trunk/includes/getupdates.php

    r1234058 r1234391  
    8383    sendadminmessagebot ('new subscriber');
    8484    }
     85        } else {
     86        update_post_meta ($checker->ID,'activity','active');
     87        sendmessagebot ($user_id,$welcome);
     88    if ($adminupdate == 'both' || $adminupdate == 'subs') {
     89    sendadminmessagebot ('new subscriber');
     90        }
    8591        }
    8692    } elseif ($text == $unsubcommand) {
Note: See TracChangeset for help on using the changeset viewer.