This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urw /tmp/civicrm/CRM/Core/BAO/Preferences.php civicrm/CRM/Core/BAO/Preferences.php | |
--- /tmp/civicrm/CRM/Core/BAO/Preferences.php 2011-04-27 23:17:34.000000000 +1200 | |
+++ civicrm/CRM/Core/BAO/Preferences.php 2012-05-06 11:57:35.000000000 +1200 | |
@@ -49,7 +49,7 @@ | |
static function systemObject( ) { | |
if ( ! self::$_systemObject ) { | |
self::$_systemObject = new CRM_Core_DAO_Preferences( ); | |
- self::$_systemObject->domain_id = CRM_Core_Config::domainID( ); | |
+ //self::$_systemObject->domain_id = CRM_Core_Config::domainID( ); | |
self::$_systemObject->is_domain = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#################### mpgGlobals ########################################### | |
class mpgGlobals{ | |
var $Globals=array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Until CiviCRM ships with a method to allow extensions to receive IPN, | |
* this file needs to be copied to your civicrm/extern folder for full | |
* IPN functionality. | |
*/ | |
session_start( ); | |
require_once '../civicrm.config.php'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urw /tmp/c3d6/sites/all/modules/civicrm/CRM/Core/Extensions.php CRM/Core/Extensions.php | |
--- /tmp/c3d6/sites/all/modules/civicrm/CRM/Core/Extensions.php 2012-05-29 13:40:25.000000000 +1200 | |
+++ CRM/Core/Extensions.php 2012-05-29 13:53:59.107529815 +1200 | |
@@ -341,15 +341,15 @@ | |
$outdated = (int) $timestamp < ( time() - 180) ? true : false; | |
if( !$timestamp || $outdated ) { | |
- $remoties = $this->grabRemoteKeyList(); | |
+ $remotes = $this->grabRemoteKeyList(); | |
$cached = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+------------------------------------------------+ | |
| | | |
| +--------------------------------------------+ | | |
| | | | | |
| | | | | |
| +--------------------------------------------+ | | |
| | | |
| +-------------------+ +----------------------+ | | |
| |node body | |view1 | | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index CRM/Core/Payment.php | |
--- a/CRM/Core/Payment.php 2012-06-13 23:18:13.518639036 +1200 | |
+++ b/CRM/Core/Payment.php 2012-06-13 23:18:02.198639237 +1200 | |
@@ -202,5 +202,74 @@ | |
function isCancelSupported(&$paymentObject) { | |
return method_exists(CRM_Utils_System::getClassName($paymentObject), 'cancelSubscription'); | |
} | |
-} | |
+ /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$lyrics = array( | |
'Never gonna give you up', | |
'Never gonna let you down', | |
'Never gonna run around and desert you', | |
'Something something something, and hurt you', | |
); | |
foreach ($lyrics as $lyric) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; simplified example, this is snipped from http://github.com/GiantRobot/drush-makefiles which is slightly outdated | |
; Drush_make API version | |
api = "2" | |
; Drupal core | |
core = "7.x" | |
projects[drupal][version] = "7.14" | |
; CiviCRM core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- $this->removeFiles(); | |
- $this->_removeExtensionByType(); | |
- $this->_removeExtensionEntry(); | |
+ if ($this->_removeExtensionByType()) { | |
+ if ($this->_removeExtensionEntry()) { | |
+ if ($this->removeFiles()) { | |
+ return TRUE; | |
+ } | |
+ } | |
+ } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/openid_selector_fb.js b/openid_selector_fb.js | |
index 3ff0024..d54576d 100644 | |
--- a/openid_selector_fb.js | |
+++ b/openid_selector_fb.js | |
@@ -13,7 +13,7 @@ delete providers_large[replace_id]; | |
providers_large.facebook = { | |
name: 'Facebook', | |
- url: "javascript: $('.fb-login-button a').click();" | |
+ url: "javascript: FB.login();"" |