PluginProbe
Github Embed / 1.5
Github Embed v1.5
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1
← All changes | github-api.php +5 -7 1.61.5 View file →
@@ -1,21 +1,19 @@
1 1 <?php
2 2
3 3
4 4
5 -// 0 - none.
5 +// 0 - none
6 6 define( 'GEDEBUG_NONE', 0 );
7 7
8 -// 1 - call logging only.
8 +// 1 - call logging only
9 9 define( 'GEDEBUG_CALL', 1 );
10 10
11 -// 2 - calls, and responses.
11 +// 2 - calls, and responses
12 12 define( 'GEDEBUG_RESP', 2 );
13 13
14 -// Selected debug level.
15 -if ( ! defined( 'GITHUB_API_LEVEL' ) ) {
16 - define( 'GITHUB_API_LEVEL', GEDEBUG_NONE );
17 -}
14 +// Selected debug level
15 +define( 'GITHUB_API_LEVEL', GEDEBUG_NONE );
18 16
19 17
20 18 /**
21 19 * This class contains all the functions that actually retrieve information from the GitHub API