Commit f9f63773 authored by Christian Wach's avatar Christian Wach
Browse files

Force-rename files

parent 65392c74
......@@ -4,7 +4,7 @@
*
* @since 1.0
*/
class CRM_CallNext_Page_CallNext extends CRM_Core_Page {
class CRM_CallNextDashlet_Page_CallNextDashlet extends CRM_Core_Page {
/**
* Constructor.
......@@ -238,6 +238,8 @@ class CRM_CallNext_Page_CallNext extends CRM_Core_Page {
/*
error_log( print_r( array(
'method' => __METHOD__,
'activities_me' => $activities_me,
'activities_none' => $activities_none,
'activities' => $activities,
), true ) );
*/
......
......@@ -6,10 +6,10 @@
* The ExtensionUtil class provides small stubs for accessing resources of this
* extension.
*/
class CRM_CallNext_ExtensionUtil {
class CRM_CallNextDashlet_ExtensionUtil {
const SHORT_NAME = "callnext";
const LONG_NAME = "cc.tadpole.callnext";
const CLASS_PREFIX = "CRM_CallNext";
const CLASS_PREFIX = "CRM_CallNextDashlet";
/**
* Translate a string using the extension's domain.
......@@ -77,7 +77,7 @@ class CRM_CallNext_ExtensionUtil {
}
use CRM_CallNext_ExtensionUtil as E;
use CRM_CallNextDashlet_ExtensionUtil as E;
/**
* (Delegated) Implements hook_civicrm_config().
......@@ -205,14 +205,14 @@ function _callnext_civix_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
}
/**
* @return CRM_CallNext_Upgrader
* @return CRM_CallNextDashlet_Upgrader
*/
function _callnext_civix_upgrader() {
if (!file_exists(__DIR__ . '/CRM/CallNext/Upgrader.php')) {
if (!file_exists(__DIR__ . '/CRM/CallNextDashlet/Upgrader.php')) {
return NULL;
}
else {
return CRM_CallNext_Upgrader_Base::instance();
return CRM_CallNextDashlet_Upgrader_Base::instance();
}
}
......
<?php
require_once 'callnext.civix.php';
use CRM_CallNext_ExtensionUtil as E;
use CRM_CallNextDashlet_ExtensionUtil as E;
/**
* Implements hook_civicrm_config().
......
......@@ -22,6 +22,6 @@
</compatibility>
<comments>This is a new, undeveloped module</comments>
<civix>
<namespace>CRM/CallNext</namespace>
<namespace>CRM/CallNextDashlet</namespace>
</civix>
</extension>
......@@ -2,7 +2,7 @@
<menu>
<item>
<path>civicrm/callnext</path>
<page_callback>CRM_CallNext_Page_CallNext</page_callback>
<page_callback>CRM_CallNextDashlet_Page_CallNextDashlet</page_callback>
<access_arguments>access CiviCRM</access_arguments>
</item>
</menu>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment