more cleanup
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
Reference in New Issue
Block a user