more cleanup

This commit is contained in:
Nathan Coad
2016-07-22 11:58:39 +10:00
parent 3794fece83
commit a40e6a9d8a

View File

@@ -943,7 +943,7 @@ function booking_requirements($phase) {
if (($library = libraries_detect('stripe')) && !empty($library['installed'])) {
// The library is installed. Awesome!
$info = libraries_info('stripe');
watchdog('booking_debug', "<pre>Stripe library check\n@info</pre>", array('@info' => print_r($info, true)));
//watchdog('booking_debug', "<pre>Stripe library check\n@info</pre>", array('@info' => print_r($info, true)));
$requirements['booking_stripe_library'] = array(
'title' => $t('Booking Module Libraries'),
'description' => $t('Stripe library is installed.'),
@@ -956,7 +956,7 @@ function booking_requirements($phase) {
$error_message = $library['error message'];
$requirements['booking_stripe_library'] = array(
'title' => $t('Booking Module Libraries'),
'description' => $t('Stripe payment processor library not installed correctly.'),
'description' => $t('Stripe payment processor library not installed correctly. Download https://github.com/stripe/stripe-php/archive/master.zip and extract contents into sites/all/libraries/stripe'),
'value' => $error_message,
'severity' => REQUIREMENT_ERROR,
);