add rudimentary locking capability to Friendica functions

This commit is contained in:
Zach Prezkuta 2012-06-14 20:58:25 -06:00
parent 360c35e438
commit 168ae40dd2
4 changed files with 166 additions and 21 deletions

View file

@ -432,7 +432,7 @@ function probe_url($url, $mode = PROBE_NORMAL) {
intval(local_user())
);
if(count($x) && count($r)) {
$mailbox = construct_mailbox_name($r[0]);
$mailbox = construct_mailbox_name($r[0]);
$password = '';
openssl_private_decrypt(hex2bin($r[0]['pass']),$password,$x[0]['prvkey']);
$mbox = email_connect($mailbox,$r[0]['user'],$password);