From 106a3de91c7c8c6c275323152de414253f01127a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Apr 2013 17:31:56 +0400 Subject: plugins: bump API version --- plugins/example_api/init.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/example_api') diff --git a/plugins/example_api/init.php b/plugins/example_api/init.php index 9e0ad18b9..1f896badf 100644 --- a/plugins/example_api/init.php +++ b/plugins/example_api/init.php @@ -25,5 +25,10 @@ class Example_Api extends Plugin { function example_testmethod() { return array(API::STATUS_OK, array("current_time" => time())); } + + function api_version() { + return 2; + } + } ?> -- cgit v1.2.3