projects
/
GrooveNetBot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69987e7
)
Save new fave and tesseract
author
Cameron Ball
<cameron@moodle.com>
Fri, 3 May 2019 03:06:35 +0000
(11:06 +0800)
committer
Cameron Ball
<cameron@moodle.com>
Fri, 3 May 2019 03:06:35 +0000
(11:06 +0800)
src/prankdigest.php
patch
|
blob
|
history
diff --git
a/src/prankdigest.php
b/src/prankdigest.php
index
5b77649
..
dc9d0bd
100644
(file)
--- a/
src/prankdigest.php
+++ b/
src/prankdigest.php
@@
-36,7
+36,6
@@
$scoreTesseract = map(map(map(maxKey)))(
$diff = array_diff_assoc_recursive($scoreTesseract, $oldScoreTesseract);
$asdf = prefixKey('', $diff);
-print_r($asdf);
$pranks = [];
foreach ($asdf as $k => $v) {
$k = explode('.', $k);
@@
-87,3
+86,6
@@
if ($pranks || $newFaves) {
]
);
}
+
+file_put_contents(__DIR__ . '/tesseract.txt', serialize($scoreTesseract));
+file_put_contents(__DIR__ . '/faves.txt', serialize($faveMap));