summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-16 16:17:23 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-16 16:17:23 +0100
commit40d5d5512401673f30ba822ff26b1762c9730da9 (patch)
tree801fc9afc2dc9ae5b3f0790eb443d19fe456a56d /lib
parent1666af89c2db24e05dfc8480e087fc73bb32e831 (diff)
downloadnextcloud-server-40d5d5512401673f30ba822ff26b1762c9730da9.tar.gz
nextcloud-server-40d5d5512401673f30ba822ff26b1762c9730da9.zip
Remove the icon for now
Diffstat (limited to 'lib')
-rw-r--r--lib/private/notification/action.php22
-rw-r--r--lib/private/notification/iaction.php14
-rw-r--r--lib/private/notification/inotification.php14
-rw-r--r--lib/private/notification/notification.php22
4 files changed, 0 insertions, 72 deletions
diff --git a/lib/private/notification/action.php b/lib/private/notification/action.php
index e1171531716..958b085b38e 100644
--- a/lib/private/notification/action.php
+++ b/lib/private/notification/action.php
@@ -154,28 +154,6 @@ class Action implements IAction {
}
/**
- * @param string $icon
- * @return $this
- * @throws \InvalidArgumentException if the icon is invalid
- * @since 8.2.0
- */
- public function setIcon($icon) {
- if (!is_string($icon) || $icon === '' || isset($icon[64])) {
- throw new \InvalidArgumentException('The given icon is invalid');
- }
- $this->icon = $icon;
- return $this;
- }
-
- /**
- * @return string
- * @since 8.2.0
- */
- public function getIcon() {
- return $this->icon;
- }
-
- /**
* @return bool
*/
public function isValid() {
diff --git a/lib/private/notification/iaction.php b/lib/private/notification/iaction.php
index 9fd964e3dcf..4aed2e92517 100644
--- a/lib/private/notification/iaction.php
+++ b/lib/private/notification/iaction.php
@@ -95,20 +95,6 @@ interface IAction {
public function getRequestType();
/**
- * @param string $icon
- * @return $this
- * @throws \InvalidArgumentException if the icon is invalid
- * @since 8.2.0
- */
- public function setIcon($icon);
-
- /**
- * @return string
- * @since 8.2.0
- */
- public function getIcon();
-
- /**
* @return bool
* @since 8.2.0
*/
diff --git a/lib/private/notification/inotification.php b/lib/private/notification/inotification.php
index faf5db1d24c..a8bf5b110ab 100644
--- a/lib/private/notification/inotification.php
+++ b/lib/private/notification/inotification.php
@@ -180,20 +180,6 @@ interface INotification {
public function getLink();
/**
- * @param string $icon
- * @return $this
- * @throws \InvalidArgumentException if the icon are invalid
- * @since 8.2.0
- */
- public function setIcon($icon);
-
- /**
- * @return string
- * @since 8.2.0
- */
- public function getIcon();
-
- /**
* @return IAction
* @since 8.2.0
*/
diff --git a/lib/private/notification/notification.php b/lib/private/notification/notification.php
index 15ca0fee5d2..01df659d4a1 100644
--- a/lib/private/notification/notification.php
+++ b/lib/private/notification/notification.php
@@ -336,28 +336,6 @@ class Notification implements INotification {
}
/**
- * @param string $icon
- * @return $this
- * @throws \InvalidArgumentException if the icon are invalid
- * @since 8.2.0
- */
- public function setIcon($icon) {
- if (!is_string($icon) || $icon === '' || isset($icon[64])) {
- throw new \InvalidArgumentException('The given icon is invalid');
- }
- $this->icon = $icon;
- return $this;
- }
-
- /**
- * @return string
- * @since 8.2.0
- */
- public function getIcon() {
- return $this->icon;
- }
-
- /**
* @return IAction
* @since 8.2.0
*/