public static function setPriorities($priorities)
 {
     $value = '';
     if (is_array($priorities)) {
         foreach ($priorities as $priority) {
             $value .= pSQL($priority) . ';';
         }
     }
     SpecificPrice::deletePriorities();
     return Configuration::updateValue('PS_SPECIFIC_PRICE_PRIORITIES', rtrim($value, ';'));
 }