Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit aafd5fa

Browse files
committed
FINAL_KEY is not used anymore, remove it.
1 parent 3bd71b9 commit aafd5fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/plugins/action.share/class.ShareCenter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,6 @@ public function writePubliclet(&$data, $accessDriver, $repository)
869869
$copy->addOption("PATH", $repository->getOption("PATH"));
870870
$data["REPOSITORY"] = $copy;
871871
if ($data["ACTION"] == "") $data["ACTION"] = "download";
872-
// Create a random key
873-
$data["FINAL_KEY"] = md5(mt_rand().time());
874872

875873
try{
876874
$hash = $this->getShareStore()->storeShare($repository->getId(), $data, "publiclet");

0 commit comments

Comments
 (0)