Permalink
Browse files

REmove unused function

  • Loading branch information...
flack committed Dec 5, 2018
1 parent 5250abd commit ae596083292ffd5810cc474bd1ea67708039bc0b
Showing with 0 additions and 24 deletions.
  1. +0 −24 lib/midcom/helper/metadata.php
@@ -266,30 +266,6 @@ public function __set($key, $value)
return $this->set($key, $value);
}
/**
* Frontend for setting multiple metadata options
*
* @param array $properties Array of key => value properties.
*/
function set_multiple($properties)
{
foreach ($properties as $key => $value) {
if (!$this->_set_property($key, $value)) {
return false;
}
}
if (!$this->__object->guid) {
return false;
}
if ($return = $this->__object->update()) {
// Update the corresponding cache variables
array_map([$this, 'on_update'], array_keys($properties));
}
return $return;
}
/**
* Directly set a metadata option.
*

0 comments on commit ae59608

Please sign in to comment.