3f710487 by Marty Penner

Remove reliance on Tz\import (YEEESS)

1 parent 80749287
...@@ -43,8 +43,6 @@ const PASS_MAX_LEN = 15; // Maximum length of password ...@@ -43,8 +43,6 @@ const PASS_MAX_LEN = 15; // Maximum length of password
43 } 43 }
44 } 44 }
45 } 45 }
46
47 Tz\import('Tz', 'trunk');
48 }); 46 });
49 47
50 /** 48 /**
......
1 vendor/
...\ No newline at end of file ...\ No newline at end of file
1 {
2 "name": "tenzing/hybrid-gallery",
3 "require": {
4 "zendframework/zendframework1": "1.12.*"
5 },
6 "authors": [
7 {
8 "name": "Chris Boden",
9 "email": "cboden@gmail.com"
10 }
11 ]
12 }
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 }
...@@ -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
......