mirror of
https://github.com/gamaio/lobli.git
synced 2025-01-08 17:52:50 +00:00
Remove more title stuff
This commit is contained in:
parent
6c64f12366
commit
b40c3206f8
@ -22,7 +22,7 @@
|
|||||||
$sId = $short;
|
$sId = $short;
|
||||||
$short = $redis->lrange("links:$short", 0, 1);
|
$short = $redis->lrange("links:$short", 0, 1);
|
||||||
$title = $short[1];
|
$title = $short[1];
|
||||||
return "1$seperator$sId$seperator$title";
|
return "1$seperator$sId";
|
||||||
}else{
|
}else{
|
||||||
do {
|
do {
|
||||||
if(checkRemoteFile($link) !== true) return "2$seperator$link";
|
if(checkRemoteFile($link) !== true) return "2$seperator$link";
|
||||||
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
$redis->zAdd("tracking:clicks", 1, $link);
|
$redis->zAdd("tracking:clicks", 1, $link);
|
||||||
|
|
||||||
return "0$seperator$short$seperator$title";
|
return "0$seperator$short$";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user