Created
November 17, 2014 18:18
-
-
Save dmclark/b57c98c7a3692e5ec7d3 to your computer and use it in GitHub Desktop.
This file contains 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 | |
function mit_qb_cron() { | |
if (variable_get('mit_qb_import_quickbase_during_cron', TRUE)) { | |
module_load_include('inc', 'mit_qb'); | |
mit_qb_delete_and_reimport_quickbase(); | |
} | |
} | |
/** | |
* Implements hook_libraries_info | |
*/ | |
function mit_qb_libraries_info() { | |
$libs = array(); | |
$libs['forceutf8'] = array( | |
'name' => 'PHP Class Encoding featuring popular Encoding::toUTF8() function', | |
'vendor url' => 'https://github.com/neitanod/forceutf8', | |
'download url' => 'https://github.com/neitanod/forceutf8.git', | |
'version arguments' => array( | |
'file' => 'Encoding.php', | |
'pattern' => '/(forceutf8)/', | |
), | |
'files' => array( | |
'php' => array('Encoding.php'), | |
), | |
); | |
return $libs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment