mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 00:54:27 +02:00
item guids
This commit is contained in:
parent
1eec10329a
commit
8812b7f4ca
6 changed files with 16 additions and 5 deletions
|
@ -881,7 +881,7 @@ function return_bytes ($size_str) {
|
|||
function generate_user_guid() {
|
||||
$found = true;
|
||||
do {
|
||||
$guid = substr(random_string(),0,16);
|
||||
$guid = random_string(16);
|
||||
$x = q("SELECT `uid` FROM `user` WHERE `guid` = '%s' LIMIT 1",
|
||||
dbesc($guid)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue