missing salmon key? report it.
This commit is contained in:
parent
96adbb6457
commit
8f6ae2b660
4 changed files with 16 additions and 5 deletions
|
|
@ -73,6 +73,13 @@ function slapper($owner,$url,$slap) {
|
|||
if(! strlen($url))
|
||||
return;
|
||||
|
||||
|
||||
if(! $owner['sprvkey']) {
|
||||
logger(sprintf("slapper: user '%s' (%d) does not have a salmon private key. Send failed.",
|
||||
$owner['username'],$owner['uid']));
|
||||
return;
|
||||
}
|
||||
|
||||
// add all namespaces to item
|
||||
|
||||
$namespaces = <<< EOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue