projects
/
fsfdrupalauth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79ae195
)
adding some debug statments that i've been using
author
Andrew Engelbrecht
<andrew@fsf.org>
Tue, 25 Apr 2023 21:53:23 +0000
(17:53 -0400)
committer
root
<root@login0d.fsf.org>
Tue, 25 Apr 2023 21:53:23 +0000
(17:53 -0400)
lib/Auth/Source/FSFDrupalAuth.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/Auth/Source/FSFDrupalAuth.php
b/lib/Auth/Source/FSFDrupalAuth.php
index 69f60b473f2b26e4d9550c1bb477822c958bd9f7..1e80d51358e2cfc37596cf61955aeba65c7ea5e8 100644
(file)
--- a/
lib/Auth/Source/FSFDrupalAuth.php
+++ b/
lib/Auth/Source/FSFDrupalAuth.php
@@
-371,6
+371,9
@@
class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase
$eligible = false;
$eligible = false;
+ Logger::debug('fsfdrupalauth:'.$this->authId.
+ ': start date: '.$nomination_process_start_date. " end date: ".$nomination_process_end_date);
+
$start_date_obj = new \DateTime($nomination_process_start_date);
$end_date_obj = new \DateTime($nomination_process_end_date);
$start_date_obj = new \DateTime($nomination_process_start_date);
$end_date_obj = new \DateTime($nomination_process_end_date);
@@
-416,6
+419,9
@@
class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase
$eligible = false;
$total = 0;
$eligible = false;
$total = 0;
+ Logger::debug('fsfdrupalauth:'.$this->authId.
+ ': start date: '.$discussion_process_start_date. " end date: ".$discussion_process_end_date);
+
$start_date_obj = new \DateTime($discussion_process_start_date);
$end_date_obj = new \DateTime($discussion_process_end_date);
$start_date_obj = new \DateTime($discussion_process_start_date);
$end_date_obj = new \DateTime($discussion_process_end_date);
@@
-430,6
+436,9
@@
class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase
}
}
}
}
+ Logger::debug('fsfdrupalauth:'.$this->authId.
+ ': total amount: $'.$total);
+
if ($total >= $this->discussion_process_donation_amount) {
return true;
} else {
if ($total >= $this->discussion_process_donation_amount) {
return true;
} else {