Admin_ElementController::unlockPropagateAction PHP Method

unlockPropagateAction() public method

    public function unlockPropagateAction()
    {
        $success = false;
        $element = Element\Service::getElementById($this->getParam("type"), $this->getParam("id"));
        if ($element) {
            $element->unlockPropagate();
            $success = true;
        }
        $this->_helper->json(["success" => $success]);
    }