Change class names to meet naming convention

+ removed namespaces
This commit is contained in:
Marc Michalsky forumZFD 2020-12-08 12:56:13 +01:00
parent fc545b7f1c
commit a53b61775a
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
14 changed files with 35 additions and 257 deletions

View file

@ -1,19 +1,10 @@
<?php
use CRM_TwingleCampaign_Utils_ExtensionCache as Cache;
use CRM_TwingleCampaign_BAO_Campaign as Campaign;
use CRM_TwingleCampaign_BAO_TwingleApiCall as TwingleApiCall;
namespace CRM\TwingleCampaign\BAO;
use Civi;
use CRM_TwingleCampaign_ExtensionUtil as E;
use CRM\TwingleCampaign\Utils\ExtensionCache as Cache;
use CRM\TwingleCampaign\BAO\Campaign;
use Exception;
use CiviCRM_API3_Exception;
include_once E::path() . '/CRM/TwingleCampaign/BAO/Campaign.php';
include_once E::path() . '/CRM/TwingleCampaign/Utils/ExtensionCache.php';
class TwingleProject extends Campaign {
class CRM_TwingleCampaign_BAO_TwingleProject extends Campaign {
/**
* TwingleProject constructor.
@ -66,7 +57,7 @@ class TwingleProject extends Campaign {
// Instantiate TwingleProject
try {
$project = new TwingleProject(
$project = new self(
$values,
self::TWINGLE
);