aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-08 20:44:30 +0000
committerMario <mario@mariovavti.com>2022-02-08 20:44:30 +0000
commit5d0346ee30c01cc4508ed05e3cf529a6f79b6d81 (patch)
tree328e8fa46937517577237ebc9924937defbdd9aa /Zotlabs/Web
parent85ad5355cf3d497287b60a8d902778cdb88ebeef (diff)
downloadvolse-hubzilla-5d0346ee30c01cc4508ed05e3cf529a6f79b6d81.tar.gz
volse-hubzilla-5d0346ee30c01cc4508ed05e3cf529a6f79b6d81.tar.bz2
volse-hubzilla-5d0346ee30c01cc4508ed05e3cf529a6f79b6d81.zip
rename variable
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r--Zotlabs/Web/HTTPSig.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index ef191b171..a7a59b8cf 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -244,12 +244,12 @@ class HTTPSig {
}
}
- $deleted = false;
- if ($keytype === 'deleted') {
- $deleted = true;
+ $delete = false;
+ if ($keytype === 'delete') {
+ $delete = true;
}
- $key = self::get_activitystreams_key($id, $force, $deleted);
+ $key = self::get_activitystreams_key($id, $force, $delete);
return $key;
@@ -280,7 +280,7 @@ class HTTPSig {
* false if no pub key found, otherwise return an array with the pub key
*/
- static function get_activitystreams_key($id, $force = false, $deleted = false) {
+ static function get_activitystreams_key($id, $force = false, $delete = false) {
// Check the local cache first, but remove any fragments like #main-key since these won't be present in our cached data
$url = ((strpos($id, '#')) ? substr($id, 0, strpos($id, '#')) : $id);
@@ -300,7 +300,7 @@ class HTTPSig {
}
}
- if ($deleted) {
+ if ($delete) {
// If we received a delete and we do not have the record cached,
// we probably never saw this actor. Do not try to fetch it now.
return false;