| 1 |
<?php |
<?php |
| 2 |
// $Id: shindig_integrator.install,v 1.2.2.9 2009/08/17 07:19:57 impetus Exp $ |
// $Id: shindig_integrator.install,v 1.2.2.9.2.1 2009/10/22 11:46:07 impetus Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Install/Update/Uninstall file for applications |
* Install/Update/Uninstall file for applications |
| 33 |
'user_applications_application_id' => array('application_id'), |
'user_applications_application_id' => array('application_id'), |
| 34 |
), |
), |
| 35 |
); |
); |
| 36 |
|
|
| 37 |
$schema['activities'] = array( |
$schema['activities'] = array( |
| 38 |
'description' => t('Table for activities.'), |
'description' => t('Table for activities.'), |
| 39 |
'fields' => array( |
'fields' => array( |
| 194 |
'applications_id' => array('id'), |
'applications_id' => array('id'), |
| 195 |
), |
), |
| 196 |
); |
); |
| 197 |
|
|
| 198 |
$schema['application_settings'] = array( |
$schema['application_settings'] = array( |
| 199 |
'description' => t('Table for Application specific data.'), |
'description' => t('Table for Application specific data.'), |
| 200 |
'fields' => array( |
'fields' => array( |
| 201 |
'application_id' => array( |
'application_id' => array( |
| 383 |
!copy( |
!copy( |
| 384 |
"$path_shindig/shindig_files/ShindigIntegratorPeopleService.php", |
"$path_shindig/shindig_files/ShindigIntegratorPeopleService.php", |
| 385 |
"$path_shindig/shindig/php/src/social/sample/ShindigIntegratorPeopleService.php" |
"$path_shindig/shindig/php/src/social/sample/ShindigIntegratorPeopleService.php" |
| 386 |
) |
) |
| 387 |
) { |
) { |
| 388 |
$success = FALSE; |
$success = FALSE; |
| 389 |
} |
} |
| 449 |
fclose($handle); |
fclose($handle); |
| 450 |
} |
} |
| 451 |
|
|
| 452 |
$filename = "$path_shindig/js/container.js"; |
$filename = "$path_shindig/js/container.js"; |
| 453 |
$handle = @fopen($filename, "r"); |
$handle = @fopen($filename, "r"); |
| 454 |
$file_str = ""; |
$file_str = ""; |
| 455 |
if ($handle) { |
if ($handle) { |
| 473 |
/** |
/** |
| 474 |
* Implementation of hook_requirements |
* Implementation of hook_requirements |
| 475 |
*/ |
*/ |
| 476 |
|
|
| 477 |
function shindig_integrator_requirements($phase) { |
function shindig_integrator_requirements($phase) { |
| 478 |
$requirements = array(); |
$requirements = array(); |
| 479 |
|
|