<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
$parentId = NULL,
$separator = ' '
) {
+ if (!is_array($tags)) {
+ $tags = array();
+ }
// We need to build a list of tags ordered by hierarchy and sorted by
// name. The heirarchy will be communicated by an accumulation of
// separators in front of the name to give it a visual offset.
if ($tag->delete()) {
CRM_Utils_Hook::post('delete', 'Tag', $id, $tag);
- CRM_Core_Session::setStatus(ts('Selected tag has been deleted successfuly.'), ts('Tag Deleted'), 'success');
return TRUE;
}
return FALSE;