Remove reliance on Tz\import (YEEESS)
Showing
6 changed files
with
86 additions
and
4 deletions
com/HybridGallery/.gitignore
0 → 100644
| 1 | vendor/ | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
com/HybridGallery/composer.json
0 → 100644
com/HybridGallery/composer.lock
0 → 100644
| 1 | { | ||
| 2 | "_readme": [ | ||
| 3 | "This file locks the dependencies of your project to a known state", | ||
| 4 | "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | ||
| 5 | "This file is @generated automatically" | ||
| 6 | ], | ||
| 7 | "hash": "48a711bf2a9a641edb17c3599ffc1477", | ||
| 8 | "packages": [ | ||
| 9 | { | ||
| 10 | "name": "zendframework/zendframework1", | ||
| 11 | "version": "1.12.7", | ||
| 12 | "source": { | ||
| 13 | "type": "git", | ||
| 14 | "url": "https://github.com/zendframework/zf1.git", | ||
| 15 | "reference": "bf3e8b557a5cef1b3f3c99636f8cdd93f884812a" | ||
| 16 | }, | ||
| 17 | "dist": { | ||
| 18 | "type": "zip", | ||
| 19 | "url": "https://api.github.com/repos/zendframework/zf1/zipball/bf3e8b557a5cef1b3f3c99636f8cdd93f884812a", | ||
| 20 | "reference": "bf3e8b557a5cef1b3f3c99636f8cdd93f884812a", | ||
| 21 | "shasum": "" | ||
| 22 | }, | ||
| 23 | "require": { | ||
| 24 | "php": ">=5.2.11" | ||
| 25 | }, | ||
| 26 | "require-dev": { | ||
| 27 | "phpunit/dbunit": "1.3.*", | ||
| 28 | "phpunit/phpunit": "3.7.*" | ||
| 29 | }, | ||
| 30 | "type": "library", | ||
| 31 | "extra": { | ||
| 32 | "branch-alias": { | ||
| 33 | "dev-master": "1.12.x-dev" | ||
| 34 | } | ||
| 35 | }, | ||
| 36 | "autoload": { | ||
| 37 | "psr-0": { | ||
| 38 | "Zend_": "library/" | ||
| 39 | } | ||
| 40 | }, | ||
| 41 | "notification-url": "https://packagist.org/downloads/", | ||
| 42 | "include-path": [ | ||
| 43 | "library/" | ||
| 44 | ], | ||
| 45 | "license": [ | ||
| 46 | "BSD-3-Clause" | ||
| 47 | ], | ||
| 48 | "description": "Zend Framework 1", | ||
| 49 | "homepage": "http://framework.zend.com/", | ||
| 50 | "keywords": [ | ||
| 51 | "ZF1", | ||
| 52 | "framework" | ||
| 53 | ], | ||
| 54 | "time": "2014-06-12 16:20:25" | ||
| 55 | } | ||
| 56 | ], | ||
| 57 | "packages-dev": [ | ||
| 58 | |||
| 59 | ], | ||
| 60 | "aliases": [ | ||
| 61 | |||
| 62 | ], | ||
| 63 | "minimum-stability": "stable", | ||
| 64 | "stability-flags": [ | ||
| 65 | |||
| 66 | ], | ||
| 67 | "platform": [ | ||
| 68 | |||
| 69 | ], | ||
| 70 | "platform-dev": [ | ||
| 71 | |||
| 72 | ] | ||
| 73 | } |
This diff is collapsed.
Click to expand it.
| ... | @@ -7,8 +7,6 @@ const CAPABILITY = 'edit_user_details'; | ... | @@ -7,8 +7,6 @@ const CAPABILITY = 'edit_user_details'; |
| 7 | const HTML_NS = 'tzud-'; | 7 | const HTML_NS = 'tzud-'; |
| 8 | 8 | ||
| 9 | call_user_func(function() { | 9 | call_user_func(function() { |
| 10 | Tz\import('Tz', 'trunk'); | ||
| 11 | |||
| 12 | $role = get_role('administrator'); | 10 | $role = get_role('administrator'); |
| 13 | $role->add_cap(CAPABILITY); | 11 | $role->add_cap(CAPABILITY); |
| 14 | 12 | ... | ... |
-
Please register or sign in to post a comment