diff options
author | Andrew Dolgov <[email protected]> | 2013-04-19 17:31:56 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-19 17:31:56 +0400 |
commit | 106a3de91c7c8c6c275323152de414253f01127a (patch) | |
tree | 2ce5d8c825db7f115ecdaad0ced6d819b141f8d4 /plugins/example_api | |
parent | ddf28801e4720b9d7888b9bca5daf6be14d3720c (diff) |
plugins: bump API version
Diffstat (limited to 'plugins/example_api')
-rw-r--r-- | plugins/example_api/init.php | 5 |
1 files changed, 5 insertions, 0 deletions
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; + } + } ?> |