diff --git a/bl-kernel/ajax/delete-image.php b/bl-kernel/ajax/delete-image.php index ef152e5e..0135a6ad 100644 --- a/bl-kernel/ajax/delete-image.php +++ b/bl-kernel/ajax/delete-image.php @@ -5,7 +5,7 @@ header('Content-Type: application/json'); | Delete an image from a particular page | | @_POST['filename'] string Name of the file to delete -| @_POST['uuid'] string Page uuid +| @_POST['uuid'] string Page UUID | | @return array */ diff --git a/bl-kernel/ajax/generate-slug.php b/bl-kernel/ajax/generate-slug.php index 4db1b473..df0039b3 100644 --- a/bl-kernel/ajax/generate-slug.php +++ b/bl-kernel/ajax/generate-slug.php @@ -1,9 +1,22 @@ generateKey($text, $parent, $returnSlug=true, $oldKey); diff --git a/bl-kernel/ajax/get-parents.php b/bl-kernel/ajax/get-parents.php index 2064f4da..4bdf5d49 100644 --- a/bl-kernel/ajax/get-parents.php +++ b/bl-kernel/ajax/get-parents.php @@ -1,6 +1,14 @@ isLogged()) { - exit (json_encode(array( - 'status'=>1, - 'message'=>'The user is logged.' - ))); -} - -exit (json_encode(array( - 'status'=>0, - 'message'=>'The user is NOT logged.' -))); - - -?> \ No newline at end of file