<?php
-
+/*
+ +--------------------------------------------------------------------+
+ | CiviCRM Widget Creation Interface (WCI) Version 1.0 |
+ +--------------------------------------------------------------------+
+ | Copyright Zyxware Technologies (c) 2014 |
+ +--------------------------------------------------------------------+
+ | This file is a part of CiviCRM WCI. |
+ | |
+ | CiviCRM WCI is free software; you can copy, modify, and distribute |
+ | it under the terms of the GNU Affero General Public License |
+ | Version 3, 19 November 2007. |
+ | |
+ | CiviCRM WCI is distributed in the hope that it will be useful, |
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
+ | See the GNU Affero General Public License for more details. |
+ | |
+ | You should have received a copy of the GNU Affero General Public |
+ | License along with this program; if not, contact Zyxware |
+ | Technologies at info[AT]zyxware[DOT]com. |
+ +--------------------------------------------------------------------+
+*/
// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file
/**
function _wci_civix_civicrm_install() {
_wci_civix_civicrm_config();
if ($upgrader = _wci_civix_upgrader()) {
- return $upgrader->onInstall();
+ $upgrader->onInstall();
}
}
function _wci_civix_civicrm_uninstall() {
_wci_civix_civicrm_config();
if ($upgrader = _wci_civix_upgrader()) {
- return $upgrader->onUninstall();
+ $upgrader->onUninstall();
}
}
_wci_civix_civicrm_config();
if ($upgrader = _wci_civix_upgrader()) {
if (is_callable(array($upgrader, 'onEnable'))) {
- return $upgrader->onEnable();
+ $upgrader->onEnable();
}
}
}
* (Delegated) Implementation of hook_civicrm_disable
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
+ * @return mixed
*/
function _wci_civix_civicrm_disable() {
_wci_civix_civicrm_config();
if ($upgrader = _wci_civix_upgrader()) {
if (is_callable(array($upgrader, 'onDisable'))) {
- return $upgrader->onDisable();
+ $upgrader->onDisable();
}
}
}
$es = include $file;
foreach ($es as $e) {
if (empty($e['module'])) {
- $e['module'] = 'org.civicrm.wci';
+ $e['module'] = 'com.zyxware.civiwci';
}
$entities[] = $e;
}
// throw new CRM_Core_Exception($errorMessage);
}
$caseTypes[$name] = array(
- 'module' => 'org.civicrm.wci',
+ 'module' => 'com.zyxware.civiwci',
'name' => $name,
'file' => $file,
);
if(is_dir($settingsDir) && !in_array($settingsDir, $metaDataFolders)) {
$metaDataFolders[] = $settingsDir;
}
-}
\ No newline at end of file
+}