Commit 0c9de786 authored by Côme Chilliet's avatar Côme Chilliet

Removed TODO comment and opened bug ticket when relevant

parent 5774a763
......@@ -1058,7 +1058,6 @@ class LDAP
$line .= substr($fileLine, 1);
} elseif (preg_match('/^#/', $fileLine)) {
/* Ignore comment */
// TODO handle folded comment
} elseif (preg_match('/^version:/', $fileLine) && empty($entry)) {
/* Ignore version number */
} else {
......
......@@ -359,25 +359,6 @@ class tests {
return ($first < $curr && $last > $curr);
}
/*
* Check if entry value is a valid date
*
* \param string $date The date to check
*/
public static function is_date($date)
{
if ($date == "") {
return TRUE;
}
//TODO: use global $lang to check date format
if (!preg_match("/([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{4})/", $date, $matches)) {
return FALSE;
}
return checkdate($matches[2], $matches[1], $matches[3]);
}
/* \brief Check if the specified IP address $address is inside the given network */
public static function is_in_ip_range($from, $to, $address)
{
......
......@@ -65,7 +65,6 @@ class simpleSelectManagement extends simpleManagement
static function filterSelectLink()
{
// TODO : replace this with javascript that select the line when multiSelect is TRUE
if (func_num_args() < 4) {
return '&nbsp';
}
......
......@@ -21,11 +21,9 @@
class ObjectsAttribute extends GenericDialogAttribute
{
//TODO : insert in black list used workstations
protected $dialogClass = 'ObjectSelectDialog';
protected $types = array();
function getFilterBlackList ()
{
return array(
......
......@@ -352,7 +352,6 @@ class user extends simplePlugin
_('Phone'), _('Business phone number'),
'telephoneNumber', FALSE
),
// TODO: mobile attribute
new PhoneNumberAttribute (
_('Mobile'), _('Business mobile number'),
'mobile', FALSE
......
......@@ -1311,7 +1311,6 @@ class Step_Migrate extends setupStep
sprintf(_('Found %s department(s) that will not be visible in FusionDirectory.'), count($this->orgUnits_toMigrate)).
'&nbsp;'.$checkobj->submit()
);
/* TODO: maybe warnings should be an other kind of exception? */
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment