code/models/editablefields/EditableFieldMultipleOption.php
public function delete()
    {
        $options = $this->Options();

        if ($options) {
            foreach ($options as $option) {
                $option->delete();
            }
        }

        parent::delete();
    }
public function delete()
    {
        $options = $this->Options();

        if ($options) {
            foreach ($options as $option) {
                $option->delete();
            }
        }

        parent::delete();
    }
public function delete ( ) { $ options = $ this -> Options ( ) ; if ( $ options ) { foreach ( $ options as $ option ) { $ option -> delete ( ) ; } } parent :: delete ( ) ; }
Deletes all the options attached to this field before deleting the
field. Keeps stray options from floating around.

@return void
Deletes all the options attached to this field before deleting the field . Keeps stray options from floating around .