summaryrefslogtreecommitdiffstats
path: root/application/views/file/upload_form.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-11 12:55:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-11 14:49:30 +0200
commitf71d39467f353ae5f67984c0809bbda5ff7968b0 (patch)
tree7d3bc34112ea3e10d413db3b662f66e762e3d914 /application/views/file/upload_form.php
parenta147f1c43beb242af3d54f07ca32e88c5ffc5d8e (diff)
Remove api keys dependency on username
We don't need it and getting the user name from the user drivers is way more complicated. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r--application/views/file/upload_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 99c1d9e42..841ac3746 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -1,4 +1,4 @@
-<?php if (isset($username) && $username) { ?>
+<?php if (user_logged_in()) { ?>
<div class="well">
<div class="row-fluid">
<div class="span12 text-upload-form">