mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +00:00 
			
		
		
		
	Remove some unreachable code.
This commit is contained in:
		@@ -121,6 +121,5 @@ class AccountController extends Controller
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return response()->json($chartData);
 | 
			
		||||
        return response()->json(['x']);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -86,8 +86,6 @@ class MonthReportGenerator implements ReportGeneratorInterface
 | 
			
		||||
            $result = sprintf('Could not render report view: %s', $e->getMessage());
 | 
			
		||||
            throw new FireflyException($result, 0, $e);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return $result;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
@@ -61,8 +61,6 @@ class MonthReportGenerator implements ReportGeneratorInterface
 | 
			
		||||
            $result = 'Could not render report view.';
 | 
			
		||||
            throw new FireflyException($result, 0, $e);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return $result;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
@@ -65,8 +65,6 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
 | 
			
		||||
            $result = sprintf('Could not render report view: %s', $e->getMessage());
 | 
			
		||||
            throw new FireflyException($result, 0, $e);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return $result;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@
 | 
			
		||||
            <a href="webhooks/create" class="btn btn-success"><span class="fa fa-plus fa-fw"></span>{{ $t('firefly.create_new_webhook') }}</a>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
          <table class="table table-responsive table-hover" v-if="webhooks.length > 0">
 | 
			
		||||
          <table class="table table-responsive table-hover" v-if="webhooks.length > 0" aria-label="A table.">
 | 
			
		||||
            <thead>
 | 
			
		||||
            <tr>
 | 
			
		||||
              <th>Title</th>
 | 
			
		||||
 
 | 
			
		||||
@@ -40,26 +40,26 @@
 | 
			
		||||
            <table class="table table-hover">
 | 
			
		||||
              <tbody>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td style="width:40%;">Title</td>
 | 
			
		||||
                <th style="width:40%;">Title</th>
 | 
			
		||||
                <td>{{ title }}</td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td>{{ $t('list.active') }}</td>
 | 
			
		||||
                <th>{{ $t('list.active') }}</th>
 | 
			
		||||
                <td>
 | 
			
		||||
                  <em class="fa fa-check text-success" v-if="active"></em>
 | 
			
		||||
                  <em class="fa fa-times text-danger" v-if="!active"></em>
 | 
			
		||||
                </td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td>{{ $t('list.trigger') }}</td>
 | 
			
		||||
                <th>{{ $t('list.trigger') }}</th>
 | 
			
		||||
                <td> {{ trigger }}</td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td>{{ $t('list.response') }}</td>
 | 
			
		||||
                <th>{{ $t('list.response') }}</th>
 | 
			
		||||
                <td> {{ response }}</td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td>{{ $t('list.delivery') }}</td>
 | 
			
		||||
                <th>{{ $t('list.delivery') }}</th>
 | 
			
		||||
                <td> {{ delivery }}</td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              </tbody>
 | 
			
		||||
@@ -85,7 +85,7 @@
 | 
			
		||||
            <table class="table table-hover">
 | 
			
		||||
              <tbody>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td style="width:40%;">{{ $t('list.url') }}</td>
 | 
			
		||||
                <th style="width:40%;">{{ $t('list.url') }}</th>
 | 
			
		||||
                <td><input type="text" readonly class="form-control" :value=url></td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
@@ -128,7 +128,7 @@
 | 
			
		||||
            </p>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="box-body no-padding" v-if="messages.length > 0">
 | 
			
		||||
            <table class="table table-hover">
 | 
			
		||||
            <table class="table table-hover" aria-label="A table">
 | 
			
		||||
              <thead>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <th>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user