]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Move files from util to mods
[friendica.git] / mod / editpost.php
index 329e0c9a0a59b1c4dee8297df20a4061c047c5ab..b518588a591a46042cef3b7978295a42d9f58227 100644 (file)
@@ -9,9 +9,10 @@ use Friendica\Core\Config;
 use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
 use Friendica\Core\System;
-use Friendcia\Model\FileTag;
+use Friendica\Model\FileTag;
 use Friendica\Model\Item;
 use Friendica\Database\DBA;
+use Friendica\Util\Crypto;
 
 function editpost_content(App $a)
 {
@@ -131,7 +132,7 @@ function editpost_content(App $a)
                '$jotplugins' => $jotplugins,
                '$sourceapp' => L10n::t($a->sourcename),
                '$cancel' => L10n::t('Cancel'),
-               '$rand_num' => random_digits(12),
+               '$rand_num' => Crypto::randomDigits(12),
 
                //jot nav tab (used in some themes)
                '$message' => L10n::t('Message'),