Helpdesk da PluGzOne, baseado no osTicket
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
465 B

<?php
/*
* Loads the company info form and copies the helpdesk name to the company
* name
*/
class CompanyFormLoader extends MigrationTask {
var $description = "Loading initial company data";
function run($max_time) {
global $ost, $cfg;
$form = $ost->company->getForm();
if ($form && $cfg) {
$form->setAnswer('name', $cfg->getTitle());
$form->save();
}
}
}
return 'CompanyFormLoader';
?>