Page MenuHomeDevCentral

D4179.id10945.diff
No OneTemporary

D4179.id10945.diff

diff --git a/workspaces/src/includes/GlobalFunctions.php b/workspaces/src/includes/GlobalFunctions.php
--- a/workspaces/src/includes/GlobalFunctions.php
+++ b/workspaces/src/includes/GlobalFunctions.php
@@ -10,17 +10,6 @@
/// ///
////////////////////////////////////////////////////////////////////////////////
-//Plural management
-
-/*
- * Gets a "s" if the specified amount requests the plural
- * @param mixed $amount the quantity (should be numeric)
- * @return string 's' if the amount is greater or equal than 2 ; otherwise, ''
- */
-function s ($amount) {
- if ($amount >= 2 || $amount <= -2 ) return 's';
-}
-
/**
* Gets file extension
* @param string $file the file to get the extension

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 23, 04:01 (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4026703
Default Alt Text
D4179.id10945.diff (780 B)

Event Timeline