Cheetah
ChSitesProfileDeleteResponse.php
Go to the documentation of this file.
1 <?php
2 
8 ch_import('ChWsbAlerts');
9 
11 {
12  function response ($oTag)
13  {
14  if (!($iProfileId = (int)$oTag->iObject))
15  return;
16 
17  if (!defined('CH_SITES_ON_PROFILE_DELETE'))
18  define ('CH_SITES_ON_PROFILE_DELETE', 1);
19 
20  $_GET['r'] = 'sites/delete_profile_sites/' . $iProfileId;
21  chdir(CH_DIRECTORY_PATH_MODULES);
22  include(CH_DIRECTORY_PATH_MODULES . 'index.php');
23  }
24 }
ChWsbAlertsResponse
Definition: ChWsbAlerts.php:127
ChSitesProfileDeleteResponse
Definition: ChSitesProfileDeleteResponse.php:11
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
php
$_GET
$_GET['debug']
Definition: index.php:67
ChSitesProfileDeleteResponse\response
response($oTag)
Definition: ChSitesProfileDeleteResponse.php:12
$iProfileId
if( $sMembersList) $iProfileId
Definition: communicator.php:29