Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-10-03 16:43:37 +0400
committerMichal Čihař <mcihar@suse.cz>2013-10-03 16:48:23 +0400
commit3f3dfb1ecc17a2471a624751a9d182c68f7315e9 (patch)
treeca44859476a79da0346177ac377d8b5feba8f7c3 /error_report.php
parentddd64ec794bb8b6c0fee53e91e1fd3537aef59f5 (diff)
Allow error reporting without precalculated line counts
As these can now be done on the fly
Diffstat (limited to 'error_report.php')
-rw-r--r--error_report.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/error_report.php b/error_report.php
index 4fd1df28d7..015305ddd1 100644
--- a/error_report.php
+++ b/error_report.php
@@ -10,29 +10,6 @@ require_once 'libraries/error_report.lib.php';
$response = PMA_Response::getInstance();
-// Fail gracefully if this is not a release version of phpMyAdmin
-if(!$GLOBALS['PMA_Config']->isGitRevision()) {
- $response->addJSON('message', PMA_Message::error(
- __('An error has been detected, however, you seem to be running on a git '
- . 'version of phpMyAdmin.')
- . __('Automatic report submission cannot be used. Please submit a '
- . 'manual error report on the bug tracker.')
- . '<br />'
- . __('You may want to refresh the page.')));
- $response->isSuccess(false);
- exit;
-} elseif (!defined('LINE_COUNTS')) {
- $response->addJSON('message', PMA_Message::error(
- __('An error has been detected, however, the JavaScript line count file '
- . 'does not seem to exist in this phpMyAdmin installation.')
- . __('Automatic report submission cannot be used. Please submit a '
- . 'manual error report on the bug tracker.')
- . '<br />'
- . __('You may want to refresh the page.')));
- $response->isSuccess(false);
- exit;
-}
-
if ($_REQUEST['send_error_report'] == true) {
if ($_REQUEST['automatic'] === "true") {
$response->addJSON('message', PMA_Message::error(