Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ocsms.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-06-23 23:55:40 +0300
committerLoic Blot <loic.blot@unix-experience.fr>2015-06-23 23:56:15 +0300
commit3105eeb776a7185be111ead80a0d5948302cee3e (patch)
tree295bca86f21f3f855671d8945abb97ac9c51ac90 /appinfo/routes.php
parenta83c494d47dcea1ad5b8274c5c7bee20e6e44dbf (diff)
Prepare conversation deletion in PHP code too
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 4d3aea0..3846f3d 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -17,6 +17,7 @@ $application->registerRoutes($this, array('routes' => array(
array('name' => 'sms#index', 'url' => '/', 'verb' => 'GET'),
array('name' => 'sms#retrieve_all_peers', 'url' => '/get/peerlist', 'verb' => 'GET'),
array('name' => 'sms#get_conversation', 'url' => '/get/conversation', 'verb' => 'GET'),
+ array('name' => 'sms#delete_conversation', 'url' => '/delete/conversation', 'verb' => 'POST'),
array('name' => 'sms#check_new_messages', 'url' => '/get/new_messages', 'verb' => 'GET'),
array('name' => 'sms#set_country', 'url'=> '/set/country', 'verb' => 'POST'),
array('name' => 'sms#get_country', 'url'=> '/get/country', 'verb' => 'GET'),