Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F45421724
D4179.id10945.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
780 B
Referenced Files
None
Subscribers
None
D4179.id10945.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4179: Prune unused global function
Attached
Detach File
Event Timeline
Log In to Comment