<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
* @return \CRM_Activity_BAO_ICalendar
@access public
*/
- function __construct( &$act ) {
+ public function __construct( &$act ) {
$this->activity = $act;
}
* @param array $contacts Array of contacts (attendees)
*
* @return string Array index of the added attachment in the $attachments array, or else null.
- * @access public
*/
- function addAttachment( &$attachments, $contacts ) {
+ public function addAttachment( &$attachments, $contacts ) {
// Check preferences setting
if ( CRM_Core_BAO_Setting::getItem( CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'activity_assignee_notification_ics' ) ) {
$config = &CRM_Core_Config::singleton();
return null;
}
- function cleanup() {
+ public function cleanup() {
if ( !empty ( $this->icsfile ) ) {
@unlink( $this->icsfile );
}
return $primary;
}
}
-