We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 444cab8 + 5b0a13f commit ef8c899Copy full SHA for ef8c899
2 files changed
.holo/sources/mueller.toml
@@ -1,3 +1,3 @@
1
[holosource]
2
url = "https://github.com/JarvusInnovations/emergence-mueller.git"
3
-ref = "refs/heads/master"
+ref = "refs/tags/v1.0.1"
php-config/Emergence/Mueller/Investigator.config.d/laddr.php
@@ -51,6 +51,25 @@
51
},
52
];
53
54
+Investigator::$tests['has-checkin'] = [
55
+ 'points' => 1000,
56
+ 'function' => function (IUser $User) {
57
+ static $checkinMemberIds;
58
+
59
+ if ($checkinMemberIds === null) {
60
+ $checkinMemberIds = array_map(
61
+ 'intval',
62
+ DB::allValues(
63
+ 'MemberID',
64
+ 'SELECT DISTINCT MemberID FROM `member_checkins`'
65
+ )
66
+ );
67
+ }
68
69
+ return in_array(strtolower($User->ID), $checkinMemberIds);
70
+ },
71
+];
72
73
if (SlackAPI::isAvailable()) {
74
Investigator::$tests['has-slack-account'] = [
75
'points' => 1000,
0 commit comments