示例#1
0
 /**
  * Delete a profile translation for a member
  */
 public function delete_translation_multiple($trad_ids = array(), $IdOwner, $lang_id)
 {
     $words = new MOD_words();
     $count = 0;
     foreach ($trad_ids as $trad_id) {
         $words->deleteMTrad($trad_id, $IdOwner, $lang_id);
         $count++;
     }
     $this->logWrite("Deleting translation for language " . $lang_id . " " . $count . " translations deleted", "Update profile");
 }