From d45a73777935c86fc5131955831833d7465b5e9d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 21 Jan 2013 01:22:01 -0500 Subject: Update copyright to 2013. Fixes #1953. --- modules/gallery/models/access_cache.php | 2 +- modules/gallery/models/access_intent.php | 2 +- modules/gallery/models/cache.php | 2 +- modules/gallery/models/failed_auth.php | 2 +- modules/gallery/models/graphics_rule.php | 2 +- modules/gallery/models/incoming_translation.php | 2 +- modules/gallery/models/item.php | 2 +- modules/gallery/models/log.php | 2 +- modules/gallery/models/message.php | 2 +- modules/gallery/models/module.php | 2 +- modules/gallery/models/outgoing_translation.php | 2 +- modules/gallery/models/permission.php | 2 +- modules/gallery/models/task.php | 2 +- modules/gallery/models/theme.php | 2 +- modules/gallery/models/var.php | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) (limited to 'modules/gallery/models') diff --git a/modules/gallery/models/access_cache.php b/modules/gallery/models/access_cache.php index f240b020..b0c0843b 100644 --- a/modules/gallery/models/access_cache.php +++ b/modules/gallery/models/access_cache.php @@ -1,7 +1,7 @@ Date: Wed, 23 Jan 2013 18:24:31 -0500 Subject: Add a "can_add" permission bit similar to the "can_edit" bit to the RESTful array representation of Item_Model. Fixes #1903. --- modules/gallery/models/item.php | 12 ++++++++---- modules/gallery/tests/Item_Model_Test.php | 11 ++++++++++- 2 files changed, 18 insertions(+), 5 deletions(-) (limited to 'modules/gallery/models') diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index 85aca2c1..bbfeee47 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -663,7 +663,7 @@ class Item_Model_Core extends ORM_MPTT { } /** - * Return a view for movies. By default this is a Flowplayer v3