Merge pull request #5839 from seamuslee001/CRM-9764-4-6
[civicrm-core.git] / bin / deprecated / RespondentProcessor.php
index c17e8ef1bd8f18305663db648d130173e37a0a4c..d7dbbc96204ed0cbd14308a1b0de564e748fa3e6 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 
 /*
@@ -39,9 +39,8 @@ require_once 'CRM/Core/Config.php';
  */
 class CRM_RespondentProcessor {
   /**
-   *
    */
-  function __construct() {
+  public function __construct() {
     $config = CRM_Core_Config::singleton();
 
     //this does not return on failure
@@ -102,11 +101,10 @@ UPDATE  civicrm_activity
 
     echo "<br /><br />Number of respondents released = {$releasedCount}";
   }
+
 }
 
 $obj = new CRM_RespondentProcessor();
 echo "Releasing..";
 $obj->releaseRespondent();
 echo "<br /><br />Respondent Release Done";
-
-