merge from master
This commit is contained in:
commit
1aecbbece5
@ -138,7 +138,7 @@ class PConfig {
|
|||||||
$hash = hash('sha256',$family.':'.$key);
|
$hash = hash('sha256',$family.':'.$key);
|
||||||
|
|
||||||
if (self::Get($uid, 'hz_delpconfig', $hash) !== false) {
|
if (self::Get($uid, 'hz_delpconfig', $hash) !== false) {
|
||||||
if (Get($uid, 'hz_delpconfig', $hash) > $updated) {
|
if (self::Get($uid, 'hz_delpconfig', $hash) > $updated) {
|
||||||
logger('Refusing to update pconfig with outdated info (Item deleted more recently).', LOGGER_NORMAL, LOG_ERR);
|
logger('Refusing to update pconfig with outdated info (Item deleted more recently).', LOGGER_NORMAL, LOG_ERR);
|
||||||
return self::Get($uid,$family,$key);
|
return self::Get($uid,$family,$key);
|
||||||
} else {
|
} else {
|
||||||
|
@ -19,7 +19,7 @@ class Zot extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
$zot = new ZotProtocol\Receiver(new ZotProtocol\Zot6Handler());
|
$zot = new ZotProtocol\Receiver(new ZotProtocol\Zot6Handler());
|
||||||
json_return_and_die($zot->run(),'application/x-zot+jzon');
|
json_return_and_die($zot->run(),'application/x-zot+json');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user