From 81b9fb89e525aef7ea40d33e1b32cd63da0d661f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 22 Feb 2018 19:11:57 +0100 Subject: [PATCH] add action removeattrvalue() --- controllers/class.AttributeMgr.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/controllers/class.AttributeMgr.php b/controllers/class.AttributeMgr.php index f27a46090..11180b8fd 100644 --- a/controllers/class.AttributeMgr.php +++ b/controllers/class.AttributeMgr.php @@ -83,5 +83,12 @@ class SeedDMS_Controller_AttributeMgr extends SeedDMS_Controller_Common { return true; } /* }}} */ + + public function removeattrvalue() { /* {{{ */ + $attrdef = $this->params['attrdef']; + $attrval = $this->params['attrval']; + //$attrdef->getObjects($attrval); + return $attrdef->removeValue($attrval); + } /* }}} */ }