Help for this page

Select Code to Download


  1. or download this
    ###### Use this snippet to connect the account ######
    $slaveAccount->set_status("available", TRUE);
    ...
    $slaveAccount->connect();
    Purple::Debug::info("MultiLocSyncPlugin","Slave account was forced to 
    +connect\n");
    ###### END Use this snippet to connect the account ######
    
  2. or download this
    ###### Use this snippet to disconnect the account ######
    ##$slaveAccount->set_status("available", FALSE);
    ...
    ##$slaveAccount->set_enabled(Purple::Core::get_ui(), FALSE);
    Purple::Debug::info("MultiLocSyncPlugin",$slaveAccount . " was forced 
    +to disconnect\n");
    ###### END Use this snippet to disconnect the account ######